# HG changeset patch # User Matti Hamalainen # Date 1289841604 -7200 # Node ID 59992d930e70c1f8d169ab4e599a79424dee8b80 # Parent b0a88d3835e9713b2a5f0ec54b29beac9c47e174 Cosmetics. diff -r b0a88d3835e9 -r 59992d930e70 th_args.h --- a/th_args.h Mon Nov 15 18:03:28 2010 +0200 +++ b/th_args.h Mon Nov 15 19:20: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 }