diff options
author | Warner Losh <imp@FreeBSD.org> | 2002-02-02 06:50:57 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2002-02-02 06:50:57 +0000 |
commit | 5134c3f7990c353d2442ddd8a9a1d30b80099e43 (patch) | |
tree | 01a827446e9ba4f34cf1e754fcac691f6c9eb1cf /bin/sh/redir.h | |
parent | 46251dde8f47db03ad83997efd5e8f8bd8938855 (diff) | |
download | src-5134c3f7990c353d2442ddd8a9a1d30b80099e43.tar.gz src-5134c3f7990c353d2442ddd8a9a1d30b80099e43.zip |
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)
{
...
Notes
Notes:
svn path=/head/; revision=90111
Diffstat (limited to 'bin/sh/redir.h')
-rw-r--r-- | bin/sh/redir.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/sh/redir.h b/bin/sh/redir.h index 709ed12326f5..e786004d7cf3 100644 --- a/bin/sh/redir.h +++ b/bin/sh/redir.h @@ -42,9 +42,9 @@ #define REDIR_BACKQ 02 /* save the command output in memory */ union node; -void redirect __P((union node *, int)); -void popredir __P((void)); -int fd0_redirected_p __P((void)); -void clearredir __P((void)); -int copyfd __P((int, int)); +void redirect(union node *, int); +void popredir(void); +int fd0_redirected_p(void); +void clearredir(void); +int copyfd(int, int); |