# HG changeset patch # User Matti Hamalainen # Date 1289841724 -7200 # Node ID 77e34ec14f05cfff8ac816c973a50d7b90072a4f # Parent 0cea9c0cfce773e8ef6ff0c42f4f2a46b4a6ce83 Cosmetics. diff -r 0cea9c0cfce7 -r 77e34ec14f05 th_args.h --- a/th_args.h Tue Nov 02 23:22:44 2010 +0200 +++ b/th_args.h Mon Nov 15 19:22:04 2010 +0200 @@ -18,13 +18,11 @@ /* Option flags */ -#define OPT_NONE (0) /* Simple option with no arguments */ - -#define OPT_ARGREQ (1) /* Option's argument is required */ -#define OPT_ARGOPT (3) /* Option's argument is optional */ +#define OPT_NONE (0) /* Simple option with no arguments */ +#define OPT_ARGREQ (1) /* Option's argument is required */ +#define OPT_ARGOPT (3) /* Option's argument is optional */ #define OPT_ARGMASK (3) /* Mask for option argument flags */ - -#define OPT_REQUIRED (4) /* This option is required to be given */ +#define OPT_REQUIRED (4) /* This option is required to be given */ typedef struct { @@ -37,12 +35,11 @@ BOOL th_args_process(int argc, char *argv[], - optarg_t argList[], int argListN, - BOOL (*handleOpt)(int, char *, char *), - BOOL (*handleFile)(char *), BOOL); + optarg_t argList[], int argListN, + BOOL (*handleOpt)(int, char *, char *), + BOOL (*handleFile)(char *), BOOL); -void th_args_help(FILE *, optarg_t optList[], int optListN, - char *, char *); +void th_args_help(FILE *, optarg_t optList[], int optListN, char *, char *); #ifdef __cplusplus }