diff options
author | imp <imp@FreeBSD.org> | 2002-02-02 06:50:57 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2002-02-02 06:50:57 +0000 |
commit | 5ef5088ac4e038d0a147a08377ef087fd6edf527 (patch) | |
tree | 01a827446e9ba4f34cf1e754fcac691f6c9eb1cf /bin/sh/expand.h | |
parent | 50014e35418ca00d25ea852fc4f94acf80be4df3 (diff) | |
download | FreeBSD-src-5ef5088ac4e038d0a147a08377ef087fd6edf527.zip FreeBSD-src-5ef5088ac4e038d0a147a08377ef087fd6edf527.tar.gz |
o __P has been reoved
o Old-style K&R declarations have been converted to new C89 style
o register has been removed
o prototype for main() has been removed (gcc3 makes it an error)
o int main(int argc, char *argv[]) is the preferred main definition.
o Attempt to not break style(9) conformance for declarations more than
they already are.
o Change
int
foo() {
...
to
int
foo(void)
{
...
Diffstat (limited to 'bin/sh/expand.h')
-rw-r--r-- | bin/sh/expand.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/sh/expand.h b/bin/sh/expand.h index 955b8bf..0fbd52a 100644 --- a/bin/sh/expand.h +++ b/bin/sh/expand.h @@ -59,9 +59,9 @@ struct arglist { union node; -void expandhere __P((union node *, int)); -void expandarg __P((union node *, struct arglist *, int)); -void expari __P((int)); -int patmatch __P((char *, char *, int)); -void rmescapes __P((char *)); -int casematch __P((union node *, char *)); +void expandhere(union node *, int); +void expandarg(union node *, struct arglist *, int); +void expari(int); +int patmatch(char *, char *, int); +void rmescapes(char *); +int casematch(union node *, char *); |