]> granicus.if.org Git - curl/commitdiff
sethostname: ISO C does not allow extra `;' outside of a function
authorDaniel Stenberg <daniel@haxx.se>
Fri, 30 Jul 2010 20:26:19 +0000 (22:26 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 30 Jul 2010 20:26:19 +0000 (22:26 +0200)
tests/libtest/sethostname.c

index 667f689aef9bee8ee4bebc262e403170287af14a..4facfc66c404d78e0135b66d07811e996f105097 100644 (file)
@@ -25,4 +25,4 @@ int gethostname(char *name, size_t namelen) {
 
   /* LD_PRELOAD used, but no hostname set, we'll just return a failure */
   return -1;
-};
+}