Avoid a name conflict with future functionality:
getfstab() -> dump_getfstab()
This commit is contained in:
parent
da53c6f393
commit
5ca3aa13f2
@ -125,7 +125,7 @@ void writerec(char *dp, int isspcl);
|
||||
|
||||
void Exit(int status) __dead2;
|
||||
void dumpabort(int signo);
|
||||
void getfstab(void);
|
||||
void dump_getfstab(void);
|
||||
|
||||
char *rawname(char *cp);
|
||||
union dinode *getino(ino_t inum, int *mode);
|
||||
|
@ -304,7 +304,7 @@ main(int argc, char *argv[])
|
||||
if (signal(SIGINT, interrupt) == SIG_IGN)
|
||||
signal(SIGINT, SIG_IGN);
|
||||
|
||||
getfstab(); /* /etc/fstab snarfed */
|
||||
dump_getfstab(); /* /etc/fstab snarfed */
|
||||
/*
|
||||
* disk can be either the full special file name,
|
||||
* the suffix of the special file name,
|
||||
|
@ -295,7 +295,7 @@ struct pfstab {
|
||||
static SLIST_HEAD(, pfstab) table;
|
||||
|
||||
void
|
||||
getfstab(void)
|
||||
dump_getfstab(void)
|
||||
{
|
||||
struct fstab *fs;
|
||||
struct pfstab *pf;
|
||||
@ -367,7 +367,7 @@ lastdump(int arg) /* w ==> just what to do; W ==> most recent dumps */
|
||||
struct tm *tlast;
|
||||
|
||||
(void) time(&tnow);
|
||||
getfstab(); /* /etc/fstab input */
|
||||
dump_getfstab(); /* /etc/fstab input */
|
||||
initdumptimes(); /* /etc/dumpdates input */
|
||||
qsort((char *) ddatev, nddates, sizeof(struct dumpdates *), datesort);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user