summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/libc/getnetbyht.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cpukit/libnetworking/libc/getnetbyht.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/cpukit/libnetworking/libc/getnetbyht.c b/cpukit/libnetworking/libc/getnetbyht.c
index 713e186ccb..b44193045b 100644
--- a/cpukit/libnetworking/libc/getnetbyht.c
+++ b/cpukit/libnetworking/libc/getnetbyht.c
@@ -63,8 +63,7 @@ static char *net_aliases[MAXALIASES];
static int _net_stayopen;
void
-_setnethtent(f)
- int f;
+_setnethtent(int f)
{
if (netf == NULL)
@@ -75,7 +74,7 @@ _setnethtent(f)
}
void
-_endnethtent()
+_endnethtent(void)
{
if (netf) {
@@ -86,7 +85,7 @@ _endnethtent()
}
struct netent *
-getnetent()
+getnetent(void)
{
char *p;
register char *cp, **q;
@@ -134,8 +133,7 @@ again:
}
struct netent *
-_getnetbyhtname(name)
- register const char *name;
+_getnetbyhtname(const char *name)
{
register struct netent *p;
register char **cp;
@@ -155,9 +153,9 @@ found:
}
struct netent *
-_getnetbyhtaddr(net, type)
- register unsigned long net;
- register int type;
+_getnetbyhtaddr(
+ unsigned long net,
+ int type)
{
register struct netent *p;