From e044f14af3ee10208fb1348603812f8a67730978 Mon Sep 17 00:00:00 2001 From: ewt Date: Sun, 29 Sep 1996 02:27:20 +0000 Subject: [PATCH] made filecmp() and decideFileFate() protoyped static as well as defined static CVS patchset: 1067 CVS date: 1996/09/29 02:27:20 --- lib/install.c | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/lib/install.c b/lib/install.c index 11d40e2..7d291fa 100644 --- a/lib/install.c +++ b/lib/install.c @@ -37,11 +37,11 @@ struct replacedFile { } ; enum fileTypes whatis(short mode); -int filecmp(short mode1, char * md51, char * link1, - short mode2, char * md52, char * link2); -enum instActions decideFileFate(char * filespec, short dbMode, char * dbMd5, - char * dbLink, short newMode, char * newMd5, - char * newLink, int brokenMd5); +static int filecmp(short mode1, char * md51, char * link1, + short mode2, char * md52, char * link2); +static enum instActions decideFileFate(char * filespec, short dbMode, + char * dbMd5, char * dbLink, short newMode, + char * newMd5, char * newLink, int brokenMd5); static int installArchive(char * prefix, int fd, struct fileToInstall * files, int fileCount, notifyFunction notify, char ** installArchive, char * tmpPath, @@ -1033,9 +1033,8 @@ static int filecmp(short mode1, char * md51, char * link1, } static enum instActions decideFileFate(char * filespec, short dbMode, - char * dbMd5, char * dbLink, - short newMode, char * newMd5, - char * newLink, int brokenMd5) { + char * dbMd5, char * dbLink, short newMode, + char * newMd5, char * newLink, int brokenMd5) { char buffer[1024]; char * dbAttr, * newAttr; enum fileTypes dbWhat, newWhat, diskWhat; -- 2.7.4