X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fmountlist.c;h=ed91f9ec7e812e5a16fe1e437f928c6f6e1eef47;hb=39fcb4103371f5cf844e296fd3cc9d594555af6a;hp=79f0d535ed43274c9e23c2c30fc8629e6d65e0cd;hpb=92f1833affa37844e22d2ebe4ca4c6ba924377f4;p=gnulib.git diff --git a/lib/mountlist.c b/lib/mountlist.c index 79f0d535e..ed91f9ec7 100644 --- a/lib/mountlist.c +++ b/lib/mountlist.c @@ -21,8 +21,7 @@ #include #include -#include "mountlist.h" -#include "unlocked-io.h" + #ifdef STDC_HEADERS # include @@ -34,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 @@ -145,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