diff options
Diffstat (limited to 'bin/pax/ftree.c')
-rw-r--r-- | bin/pax/ftree.c | 36 |
1 files changed, 1 insertions, 35 deletions
diff --git a/bin/pax/ftree.c b/bin/pax/ftree.c index d7d6046..ac9368d 100644 --- a/bin/pax/ftree.c +++ b/bin/pax/ftree.c @@ -79,7 +79,7 @@ static FTREE *ftcur = NULL; /* current file arg being processed */ static FTSENT *ftent = NULL; /* current file tree entry */ static int ftree_skip; /* when set skip to next file arg */ -static int ftree_arg __P((void)); +static int ftree_arg(void); /* * ftree_start() @@ -91,13 +91,8 @@ static int ftree_arg __P((void)); * 0 if there is at least one valid file arg to process, -1 otherwise */ -#ifdef __STDC__ int ftree_start(void) -#else -int -ftree_start() -#endif { /* * set up the operation mode of fts, open the first file arg. We must @@ -150,15 +145,8 @@ ftree_start() * 0 if added to the linked list, -1 if failed */ -#ifdef __STDC__ int ftree_add(register char *str, int chflg) -#else -int -ftree_add(str, chflg) - register char *str; - int chflg; -#endif { register FTREE *ft; register int len; @@ -202,14 +190,8 @@ ftree_add(str, chflg) * -n and -d processing. */ -#ifdef __STDC__ void ftree_sel(register ARCHD *arcn) -#else -void -ftree_sel(arcn) - register ARCHD *arcn; -#endif { /* * set reference bit for this pattern. This linked list is only used @@ -241,13 +223,8 @@ ftree_sel(arcn) * have a selected member (reference count still 0) */ -#ifdef __STDC__ void ftree_chk(void) -#else -void -ftree_chk() -#endif { register FTREE *ft; register int wban = 0; @@ -283,13 +260,8 @@ ftree_chk() * stdin). */ -#ifdef __STDC__ static int ftree_arg(void) -#else -static int -ftree_arg() -#endif { register char *pt; @@ -362,14 +334,8 @@ ftree_arg() * 0 when contents of arcn have been set with the next file, -1 when done. */ -#ifdef __STDC__ int next_file(register ARCHD *arcn) -#else -int -next_file(arcn) - register ARCHD *arcn; -#endif { register int cnt; time_t atime; |