summaryrefslogtreecommitdiff
path: root/include/getopt-min.h
diff options
context:
space:
mode:
authorLeo C2014-10-16 11:08:47 +0200
committerLeo C2014-10-16 11:08:47 +0200
commit6dc26e92c20eedcfcba9e0b75a015a5b160748c5 (patch)
treea2a7c5a22b3353b4d26b8eb1b3a8caef7f6411ac /include/getopt-min.h
parent349c01b10d1f6e223f963c6cbdf6a94d0b618895 (diff)
parent8f23e84c6a08a384d25582f9cf79c4f5549bc852 (diff)
downloadz180-stamp-6dc26e92c20eedcfcba9e0b75a015a5b160748c5.zip
Merge branch 'master' into hostcomm_avr
Diffstat (limited to 'include/getopt-min.h')
-rw-r--r--include/getopt-min.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/getopt-min.h b/include/getopt-min.h
new file mode 100644
index 0000000..9f7729e
--- /dev/null
+++ b/include/getopt-min.h
@@ -0,0 +1,12 @@
+#ifndef GETOPT_MIN_H
+#define GETOPT_MIN_H
+
+int getopt( /* returns letter, '?', EOF */
+ int argc, /* argument count from main */
+ char *const argv[], /* argument vector from main */
+ const FLASH char * optstring ); /* allowed args, e.g. "ab:c" */
+
+extern int optind;
+
+#endif /* GETOPT_MIN_H */
+