diff options
Diffstat (limited to '')
-rw-r--r-- | common/argparse.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/common/argparse.h b/common/argparse.h index 471cf7479..b4dc25373 100644 --- a/common/argparse.h +++ b/common/argparse.h @@ -32,7 +32,6 @@ #define LIBJNLIB_ARGPARSE_H #include <stdio.h> -#include "types.h" typedef struct { @@ -193,12 +192,12 @@ typedef struct #define ARGPARSE_INVALID_ARG (-12) -int arg_parse( ARGPARSE_ARGS *arg, ARGPARSE_OPTS *opts); -int optfile_parse( FILE *fp, const char *filename, unsigned *lineno, +int arg_parse (ARGPARSE_ARGS *arg, ARGPARSE_OPTS *opts); +int optfile_parse (FILE *fp, const char *filename, unsigned *lineno, ARGPARSE_ARGS *arg, ARGPARSE_OPTS *opts); -void usage( int level ); -const char *strusage( int level ); -void set_strusage( const char *(*f)( int ) ); +void usage (int level); +const char *strusage (int level); +void set_strusage (const char *(*f)( int )); void argparse_register_outfnc (int (*fnc)(int, const char *)); #endif /*LIBJNLIB_ARGPARSE_H*/ |