summaryrefslogtreecommitdiff
path: root/ubi-utils/src/ubimirror.c
diff options
context:
space:
mode:
Diffstat (limited to 'ubi-utils/src/ubimirror.c')
-rw-r--r--ubi-utils/src/ubimirror.c6
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"