changeset 182:59992d930e70

Cosmetics.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 15 Nov 2010 19:20:04 +0200
parents b0a88d3835e9
children 209546c5b7d0
files th_args.h
diffstat 1 files changed, 8 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- 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
 }