diff options
Diffstat (limited to 'cpukit/libnetworking/libc/getnetbynis.c')
-rw-r--r-- | cpukit/libnetworking/libc/getnetbynis.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/cpukit/libnetworking/libc/getnetbynis.c b/cpukit/libnetworking/libc/getnetbynis.c index db5a96f9a3..3849a679df 100644 --- a/cpukit/libnetworking/libc/getnetbynis.c +++ b/cpukit/libnetworking/libc/getnetbynis.c @@ -52,10 +52,10 @@ static char *host_aliases[MAXALIASES]; #endif /* YP */ static struct netent * -_getnetbynis(name, map, af) - const char *name; - char *map; - int af; +_getnetbynis( + const char *name, + char *map, + int af) { #ifdef YP register char *cp, **q; @@ -122,16 +122,16 @@ _getnetbynis(name, map, af) } struct netent * -_getnetbynisname(name) - const char *name; +_getnetbynisname( + const char *name) { return _getnetbynis(name, "networks.byname", AF_INET); } struct netent * -_getnetbynisaddr(addr, af) - unsigned long addr; - int af; +_getnetbynisaddr( + unsigned long addr, + int af) { char *str, *cp; unsigned long net2; |