From: Adam Dickmeiss Date: Mon, 25 Jul 2011 19:05:00 +0000 (+0200) Subject: Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz X-Git-Tag: v4.2.8~16 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=5b25820db8435aeb54205c4ef6c9155407fb3acc;hp=d951267dfd65b4b0741d9b9621474f2731ea3b45 Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz --- diff --git a/include/yaz/options.h b/include/yaz/options.h index c4d4e13..a822b47 100644 --- a/include/yaz/options.h +++ b/include/yaz/options.h @@ -31,7 +31,7 @@ */ #ifndef YAZ_OPTIONS_H -#define TAZ_OPTIONS_H +#define YAZ_OPTIONS_H #include YAZ_BEGIN_CDECL @@ -56,7 +56,7 @@ YAZ_BEGIN_CDECL The second is zero ore more long option values (synonum for single char) If colon is appended, it means the option takes an argument. */ -YAZ_EXPORT int options (const char *desc, char **argv, int argc, char **arg); +YAZ_EXPORT int options(const char *desc, char **argv, int argc, char **arg); #define YAZ_OPTIONS_ERROR (-1) #define YAZ_OPTIONS_EOF (-2) diff --git a/src/options.c b/src/options.c index 4d92e13..d0811a9 100644 --- a/src/options.c +++ b/src/options.c @@ -17,7 +17,7 @@ static int arg_no = 1; static size_t arg_off = 0; -int options (const char *desc, char **argv, int argc, char **arg) +int options(const char *desc, char **argv, int argc, char **arg) { const char *opt_buf = 0; size_t i = 0;