about summary refs log tree commit diff
path: root/resolv
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-06-08 00:22:23 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-06-08 00:22:23 +0000
commit60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca (patch)
tree29d9258b64874c6c9838757a9c67ef62a6a0868c /resolv
parent2e09a79ada1f6d92809a037d41895e3d9302ad59 (diff)
downloadglibc-60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca.tar.gz
glibc-60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca.tar.xz
glibc-60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca.zip
Use (void) in no-arguments function definitions.
Diffstat (limited to 'resolv')
-rw-r--r--resolv/gethnamaddr.c10
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;
 }