diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-08-27 11:13:59 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-08-27 11:13:59 +0000 |
commit | c78ecb0edaf2a94a004a9718c25eb7ce9ac0c142 (patch) | |
tree | 0ff1bfe50fad5b002289b80a50a47980ac076a51 /cpukit/libnetworking/libc/getprotoent.c | |
parent | Use URLs for patches. (diff) | |
download | rtems-c78ecb0edaf2a94a004a9718c25eb7ce9ac0c142.tar.bz2 |
Stop using old-style function-definitions.
Diffstat (limited to 'cpukit/libnetworking/libc/getprotoent.c')
-rw-r--r-- | cpukit/libnetworking/libc/getprotoent.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/libnetworking/libc/getprotoent.c b/cpukit/libnetworking/libc/getprotoent.c index 51a7d0de02..a100075ea9 100644 --- a/cpukit/libnetworking/libc/getprotoent.c +++ b/cpukit/libnetworking/libc/getprotoent.c @@ -53,8 +53,8 @@ static char *proto_aliases[MAXALIASES]; int _proto_stayopen; void -setprotoent(f) - int f; +setprotoent( + int f) { if (protof == NULL) protof = fopen(_PATH_PROTOCOLS, "r" ); @@ -64,7 +64,7 @@ setprotoent(f) } void -endprotoent() +endprotoent(void) { if (protof) { fclose(protof); @@ -74,7 +74,7 @@ endprotoent() } struct protoent * -getprotoent() +getprotoent(void) { char *p; register char *cp, **q; |