summaryrefslogtreecommitdiff
path: root/firmware/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/scripts')
-rw-r--r--firmware/scripts/usbstring.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/scripts/usbstring.c b/firmware/scripts/usbstring.c
index 5348e66..5724b40 100644
--- a/firmware/scripts/usbstring.c
+++ b/firmware/scripts/usbstring.c
@@ -26,6 +26,8 @@
*/
#include <sys/types.h>
+#include <unistd.h>
+#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@@ -194,4 +196,6 @@ int main(int argc, char **argv)
printf("\t(struct usb_descriptor_header *) &string%d,\n", j);
printf("};\n\n");
printf("#endif /* _USB_STRINGS_H */\n");
+
+ exit(0);
}
personal git repositories of Harald Welte. Your mileage may vary