Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 25 Jul 2011 19:05:00 +0000 (21:05 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 25 Jul 2011 19:05:00 +0000 (21:05 +0200)
include/yaz/options.h
src/options.c

index c4d4e13..a822b47 100644 (file)
@@ -31,7 +31,7 @@
  */
 
 #ifndef YAZ_OPTIONS_H
-#define TAZ_OPTIONS_H
+#define YAZ_OPTIONS_H
 #include <yaz/yconfig.h>
 
 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)
index 4d92e13..d0811a9 100644 (file)
@@ -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;