Remove explicit declarations of xmalloc, xrealloc,
and xstrdup. Instead, include "xalloc.h".
#include <stdio.h>
#include <sys/types.h>
-#include "mountlist.h"
-#include "unlocked-io.h"
+
#ifdef STDC_HEADERS
# include <stdlib.h>
#else
# include <strings.h>
#endif
+#include "xalloc.h"
#ifndef strstr
char *strstr ();
#endif
-char *xmalloc ();
-char *xrealloc ();
-char *xstrdup ();
#include <errno.h>
#ifndef errno
# define MNT_IGNORE(M) 0
#endif
+#include "mountlist.h"
+#include "unlocked-io.h"
+
#ifdef MOUNTED_GETMNTENT1 /* 4.3BSD, SunOS, HP-UX, Dynix, Irix. */
/* Return the value of the hexadecimal number represented by CP.
No prefix (like '0x') or suffix (like 'h') is expected to be