aboutsummaryrefslogtreecommitdiff
path: root/src/internal/procfdname.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal/procfdname.c')
-rw-r--r--src/internal/procfdname.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/internal/procfdname.c b/src/internal/procfdname.c
index fd7306ab..6e9ac5d2 100644
--- a/src/internal/procfdname.c
+++ b/src/internal/procfdname.c
@@ -13,3 +13,11 @@ void __procfdname(char *buf, unsigned fd)
buf[i] = 0;
for (; fd; fd/=10) buf[--i] = '0' + fd%10;
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif