aboutsummaryrefslogtreecommitdiff
path: root/src/misc/getopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc/getopt.c')
-rw-r--r--src/misc/getopt.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/misc/getopt.c b/src/misc/getopt.c
index b02b81c3..16ba35ac 100644
--- a/src/misc/getopt.c
+++ b/src/misc/getopt.c
@@ -104,3 +104,11 @@ int getopt(int argc, char * const argv[], const char *optstring)
}
weak_alias(getopt, __posix_getopt);
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif