projects
/
proxmark3-svn
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #393 from pwpiwi/fix_getclocktime
[proxmark3-svn]
/
client
/
reveng
/
getopt.c
diff --git
a/client/reveng/getopt.c
b/client/reveng/getopt.c
index 55d8e8c57fa8f697d66db86d730c2fd17124f811..abe99634a29590adbadf70b27b5350087d29720e 100644
(file)
--- a/
client/reveng/getopt.c
+++ b/
client/reveng/getopt.c
@@
-30,10
+30,10
@@
char *optarg;
int optind = 1, opterr, optopt;
char *optarg;
int optind = 1, opterr, optopt;
-
+int pos = 0;
int getopt(int argc, char *argv[], const char *optstring)
{
int getopt(int argc, char *argv[], const char *optstring)
{
- static int pos = 0;
+
//
static int pos = 0;
char *str;
if (pos == 0) {
char *str;
if (pos == 0) {
Impressum
,
Datenschutz