summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/libc/getprotoent.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-08-27 11:13:59 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-08-27 11:13:59 +0000
commitc78ecb0edaf2a94a004a9718c25eb7ce9ac0c142 (patch)
tree0ff1bfe50fad5b002289b80a50a47980ac076a51 /cpukit/libnetworking/libc/getprotoent.c
parentUse URLs for patches. (diff)
downloadrtems-c78ecb0edaf2a94a004a9718c25eb7ce9ac0c142.tar.bz2
Stop using old-style function-definitions.
Diffstat (limited to 'cpukit/libnetworking/libc/getprotoent.c')
-rw-r--r--cpukit/libnetworking/libc/getprotoent.c8
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;