Remove K&R cruft.
[gnulib.git] / lib / xgethostname.c
index 5178784..c093994 100644 (file)
@@ -50,7 +50,7 @@ int gethostname ();
    If malloc fails, exit.
    Upon any other failure, return NULL.  */
 char *
-xgethostname ()
+xgethostname (void)
 {
   char *hostname;
   size_t size;