summaryrefslogtreecommitdiffstats
path: root/include/parseopt.h
diff options
context:
space:
mode:
authorAntony Pavlov <antonynpavlov@gmail.com>2018-01-15 00:22:49 +0300
committerSascha Hauer <s.hauer@pengutronix.de>2018-01-17 10:44:30 +0100
commitac9d377b90d6b6638c1e5e626d8da047b5c1274a (patch)
tree629f259c982f30c43c928f9f46393e9e3d03f1c8 /include/parseopt.h
parent76759ec94eb3a32d71c32550b6b50965125afd92 (diff)
downloadbarebox-ac9d377b90d6b6638c1e5e626d8da047b5c1274a.tar.gz
barebox-ac9d377b90d6b6638c1e5e626d8da047b5c1274a.tar.xz
move parseopt to lib/
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/parseopt.h')
-rw-r--r--include/parseopt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/parseopt.h b/include/parseopt.h
new file mode 100644
index 0000000000..abf3be3f35
--- /dev/null
+++ b/include/parseopt.h
@@ -0,0 +1,2 @@
+void parseopt_b(const char *options, const char *opt, bool *val);
+void parseopt_hu(const char *options, const char *opt, unsigned short *val);