]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
Make mtab_head static
authorNeil Brown <neilb@suse.de>
Fri, 16 Mar 2007 02:51:12 +0000 (13:51 +1100)
committerNeil Brown <neilb@suse.de>
Fri, 16 Mar 2007 02:51:12 +0000 (13:51 +1100)
It is only used in one place.

support/include/fstab.h
support/nfs/fstab.c

index 52af7435fefd0aec7f8ab15726f72b3773574eb3..8053066b0ce43b64eee746d2e9dcdd5901c2e659 100644 (file)
@@ -11,7 +11,6 @@ struct mntentchn {
        nfs_mntent_t m;
 };
 
        nfs_mntent_t m;
 };
 
-struct mntentchn *mtab_head (void);
 struct mntentchn *getmntoptfile (const char *file);
 struct mntentchn *getmntdirbackward (const char *dir, struct mntentchn *mc);
 struct mntentchn *getmntdevbackward (const char *dev, struct mntentchn *mc);
 struct mntentchn *getmntoptfile (const char *file);
 struct mntentchn *getmntdirbackward (const char *dir, struct mntentchn *mc);
 struct mntentchn *getmntdevbackward (const char *dev, struct mntentchn *mc);
index 8dc7d66315376c4e51abbeeabfdb63a431ae7874..23ea927cc8b80624463345679a18fe5bda16db6c 100644 (file)
@@ -83,7 +83,7 @@ static int got_mtab = 0;
 
 static void read_mounttable(void);
 
 
 static void read_mounttable(void);
 
-struct mntentchn *
+static struct mntentchn *
 mtab_head() {
        if (!got_mtab)
                read_mounttable();
 mtab_head() {
        if (!got_mtab)
                read_mounttable();