aboutsummaryrefslogtreecommitdiff
path: root/src/stdio/getw.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/getw.c')
-rw-r--r--src/stdio/getw.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/stdio/getw.c b/src/stdio/getw.c
index 73d2c0d5..55d6bb48 100644
--- a/src/stdio/getw.c
+++ b/src/stdio/getw.c
@@ -6,3 +6,11 @@ int getw(FILE *f)
int x;
return fread(&x, sizeof x, 1, f) ? x : EOF;
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif