diff options
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; |