move version definition to start of file
authorTj <hacker@iam.tj>
Tue, 29 Mar 2016 16:43:57 +0000 (17:43 +0100)
committerTj <hacker@iam.tj>
Tue, 29 Mar 2016 16:43:57 +0000 (17:43 +0100)
Signed-off-by: Tj <hacker@iam.tj>
cfe_generate_password.c

index 6331dbd..904e04b 100644 (file)
@@ -1,6 +1,7 @@
 static const char *title = \
 "Generate Broadcom CFE seeds and passwords for many popular modem/router devices\n"
 ;
+static const float VERSION = 1.3f;
 
 static const char *copyright = \
 "Copyright 2015 TJ <hacker@iam.tj>\n"
@@ -67,7 +68,6 @@ static const char *help = \
 #include <string.h>
 #include <time.h>
 
-static const float VERSION = 1.3f;
 static const size_t TIMESTAMP_SIZE = 8;
 static const size_t SEED_SIZE = 12;
 static const size_t PASSWORD_SIZE = 8;