diff options
author | Josh Boyer <jwboyer@linux.ibm.com> | 2006-12-12 09:22:48 +0100 |
---|---|---|
committer | Frank Haverkamp <haver@vnet.ibm.com> | 2006-12-12 09:22:48 +0100 |
commit | d45b87985d5371b2e47458ee0666f7979d5a8c21 (patch) | |
tree | a394d48bdc882367e1bf408f8e51ec9936b6819c /ubi-utils/src/ubimirror.c | |
parent | da59698ccf81a1df3a250edb81a91f1b8a3decf0 (diff) |
[PATCH] Minor ubi utils cleanups
Remove getopt extern declarations
Minor whitespace cleanups
Remove incorrect program names that snuck in during getopt rewrite
Change comments to match reality
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Acked-by: Frank Haverkamp <haver@vnet.ibm.com>
Diffstat (limited to 'ubi-utils/src/ubimirror.c')
-rw-r--r-- | ubi-utils/src/ubimirror.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ubi-utils/src/ubimirror.c b/ubi-utils/src/ubimirror.c index 533a0ee..eeedb3a 100644 --- a/ubi-utils/src/ubimirror.c +++ b/ubi-utils/src/ubimirror.c @@ -18,6 +18,7 @@ * Author: Oliver Lohmann * * 1.2 Removed argp because we want to use uClibc. + * 1.3 Minor cleanups */ #include <stdio.h> @@ -34,7 +35,7 @@ #include "example_ubi.h" #include "ubimirror.h" -#define PROGRAM_VERSION "1.2" +#define PROGRAM_VERSION "1.3" typedef enum action_t { ACT_NORMAL = 0, @@ -52,9 +53,6 @@ typedef enum action_t { #define VOL_ARGS_MAX 2 -extern char *optarg; -extern int optind; - static char doc[] = "\nVersion: " PROGRAM_VERSION "\n\tBuilt on " BUILD_CPU" "BUILD_OS" at "__DATE__" "__TIME__"\n" "\n" |