summaryrefslogtreecommitdiffstats
path: root/common_functions.h
diff options
context:
space:
mode:
Diffstat (limited to 'common_functions.h')
-rw-r--r--common_functions.h19
1 files changed, 11 insertions, 8 deletions
diff --git a/common_functions.h b/common_functions.h
index 8521dd8..5855a0a 100644
--- a/common_functions.h
+++ b/common_functions.h
@@ -1,17 +1,20 @@
#ifndef COMMON_FUNCTIONS_H
#define COMMON_FUNCTIONS_H
-extern int skipV33check=0;
-extern char loadfileEE[512]="",savefileEE[512]="";
-extern int vid=0x1209,pid=0x5432;
-extern int DeviceDetected=0;
-extern int new_vid=0x1209,new_pid=0x5432;
-extern int old_vid=0x04D8,old_pid=0x0100;
+extern int skipV33check;
+extern int vid,pid;
+extern int DeviceDetected;
+static const int new_vid=0x1209,new_pid=0x5432;
+static const int old_vid=0x04D8,old_pid=0x0100;
#if !defined _WIN32 && !defined __CYGWIN__ //Linux
- extern char path[512]="";
+ extern char path[512];
#endif
#ifdef OPGUI
- extern GtkWidget * b_V33check;
+ extern GtkWidget* b_V33check;
#endif
+extern char str[4096];
+
+void ProgID(void);
+int CheckS1(void);
#endif // COMMON_FUNCTIONS_H