diff options
Diffstat (limited to 'src/string/strdup.c')
-rw-r--r-- | src/string/strdup.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/string/strdup.c b/src/string/strdup.c index d4c27449..afc85a6f 100644 --- a/src/string/strdup.c +++ b/src/string/strdup.c @@ -8,3 +8,11 @@ char *strdup(const char *s) if (!d) return NULL; return memcpy(d, s, l+1); } + + +#ifdef TEST +int +main(void) { + return 0; +} +#endif |