1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

Use (void) in no-arguments function definitions.

This commit is contained in:
Joseph Myers
2013-06-08 00:22:23 +00:00
parent 2e09a79ada
commit 60d2f8f3c7
81 changed files with 226 additions and 107 deletions

View File

@ -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;
}