diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-05-23 22:20:37 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-05-23 22:20:37 +0000 |
commit | e26c13adf68b1b5d232a24497363f79effdea7e4 (patch) | |
tree | 2c22022762ad93a7ad1a83baa723395e85baef55 /usr.bin/mg/dir.c | |
parent | dedc2917e1594f44221d8474a7317eca1669caf8 (diff) |
remove VOID. We're way beyond the point where this could build with an
ancient compiler.
Diffstat (limited to 'usr.bin/mg/dir.c')
-rw-r--r-- | usr.bin/mg/dir.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/mg/dir.c b/usr.bin/mg/dir.c index 20bfc8a96f7..a0251f55be7 100644 --- a/usr.bin/mg/dir.c +++ b/usr.bin/mg/dir.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dir.c,v 1.4 2001/01/29 01:58:06 niklas Exp $ */ +/* $OpenBSD: dir.c,v 1.5 2001/05/23 22:20:35 art Exp $ */ /* * Name: MG 2a @@ -16,7 +16,7 @@ static char cwd[NFILEN]; /* * Initialize anything the directory management routines need */ -VOID +void dirinit() { @@ -38,7 +38,7 @@ changedir(f, n) if ((s = ereply("Change default directory: ", bufc, NPAT)) != TRUE) return (s); if (bufc[0] == '\0') - (VOID) strcpy(bufc, wdir); + (void) strcpy(bufc, wdir); if (chdir(bufc) == -1) { ewprintf("Can't change dir to %s", bufc); return (FALSE); |