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/mkbootenv.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/mkbootenv.c')
-rw-r--r-- | ubi-utils/src/mkbootenv.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ubi-utils/src/mkbootenv.c b/ubi-utils/src/mkbootenv.c index c05f4e2..4a8cc6a 100644 --- a/ubi-utils/src/mkbootenv.c +++ b/ubi-utils/src/mkbootenv.c @@ -20,6 +20,7 @@ * Create boot-parameter/pdd data from an ASCII-text input file. * * 1.2 Removed argp because we want to use uClibc. + * 1.3 Minor cleanup */ #include <stdio.h> @@ -34,10 +35,7 @@ #include "bootenv.h" #include "error.h" -#define PROGRAM_VERSION "1.2" - -extern char *optarg; -extern int optind; +#define PROGRAM_VERSION "1.3" static char doc[] = "\nVersion: " PROGRAM_VERSION "\n\tBuilt on " BUILD_CPU" "BUILD_OS" at "__DATE__" "__TIME__"\n" |