diff options
author | Joseph Myers <joseph@codesourcery.com> | 2013-06-08 00:22:23 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2013-06-08 00:22:23 +0000 |
commit | 60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca (patch) | |
tree | 29d9258b64874c6c9838757a9c67ef62a6a0868c /resolv | |
parent | 2e09a79ada1f6d92809a037d41895e3d9302ad59 (diff) | |
download | glibc-60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca.tar.gz |
Use (void) in no-arguments function definitions.
Diffstat (limited to 'resolv')
-rw-r--r-- | resolv/gethnamaddr.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/resolv/gethnamaddr.c b/resolv/gethnamaddr.c index 9568c06475..1fd8f92680 100644 --- a/resolv/gethnamaddr.c +++ b/resolv/gethnamaddr.c @@ -795,7 +795,7 @@ _sethtent(f) libresolv_hidden_def (_sethtent) void -_endhtent() +_endhtent (void) { if (hostf && !stayopen) { (void) fclose(hostf); @@ -804,7 +804,7 @@ _endhtent() } struct hostent * -_gethtent() +_gethtent (void) { char *p; char *cp, **q; @@ -1028,7 +1028,7 @@ ht_sethostent(stayopen) } void -ht_endhostent() +ht_endhostent (void) { _endhtent(); } @@ -1050,13 +1050,13 @@ ht_gethostbyaddr(addr, len, af) } struct hostent * -gethostent() +gethostent (void) { return (_gethtent()); } void -dns_service() +dns_service (void) { return; } |