OSDN Git Service
(root)
/
android-x86
/
external-toybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
New option parsing infrastructure (doesn't use getopt). Hook it up to
[android-x86/external-toybox.git]
/
lib
/
lib.h
diff --git
a/lib/lib.h
b/lib/lib.h
index
d013af9
..
013e491
100644
(file)
--- a/
lib/lib.h
+++ b/
lib/lib.h
@@
-13,6
+13,14
@@
struct string_list {
char str[0];
};
+struct arg_list {
+ struct arg_list *next;
+ char *arg;
+};
+
+// args.c
+void get_optflags(void);
+
// functions.c
void verror_msg(char *msg, int err, va_list va);
void error_msg(char *msg, ...);