X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fmountlist.c;h=ed91f9ec7e812e5a16fe1e437f928c6f6e1eef47;hb=d770149b4365cf33e764e63ed68e1fccab94b823;hp=75a40a223958b5ebe82f8e74e870c8478b110a02;hpb=dbe1ecde422a82dadeb74feacfe5ed17378c3ffd;p=gnulib.git diff --git a/lib/mountlist.c b/lib/mountlist.c index 75a40a223..ed91f9ec7 100644 --- a/lib/mountlist.c +++ b/lib/mountlist.c @@ -21,7 +21,7 @@ #include #include -#include "mountlist.h" + #ifdef STDC_HEADERS # include @@ -33,13 +33,11 @@ void free (); #else # include #endif +#include "xalloc.h" #ifndef strstr char *strstr (); #endif -char *xmalloc (); -char *xrealloc (); -char *xstrdup (); #include #ifndef errno @@ -144,6 +142,9 @@ extern int 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