Include <stdlib.h>, <string.h> unconditionally.
authorJim Meyering <jim@meyering.net>
Wed, 10 Sep 2003 09:05:41 +0000 (09:05 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 10 Sep 2003 09:05:41 +0000 (09:05 +0000)
(free): Remove decl.

lib/mountlist.c

index a2c1c25..096593f 100644 (file)
 
 #include <stdio.h>
 #include <sys/types.h>
+#include <stdlib.h>
+#include <string.h>
 
-
-#ifdef STDC_HEADERS
-# include <stdlib.h>
-#else
-void free ();
-#endif
-#if defined STDC_HEADERS || defined HAVE_STRING_H
-# include <string.h>
-#else
-# include <strings.h>
-#endif
 #include "xalloc.h"
 
 #ifndef strstr