*/
#ifndef YAZ_OPTIONS_H
-#define TAZ_OPTIONS_H
+#define YAZ_OPTIONS_H
#include <yaz/yconfig.h>
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)
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;