aboutsummaryrefslogtreecommitdiff
path: root/libshouldbeinlibc/localhost.c
diff options
context:
space:
mode:
Diffstat (limited to 'libshouldbeinlibc/localhost.c')
-rw-r--r--libshouldbeinlibc/localhost.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libshouldbeinlibc/localhost.c b/libshouldbeinlibc/localhost.c
index 9b7d4e09..96fd649e 100644
--- a/libshouldbeinlibc/localhost.c
+++ b/libshouldbeinlibc/localhost.c
@@ -28,7 +28,7 @@
after the first call (so the result should be copied before modification).
If something goes wrong, 0 is returned, and errno set. */
char *
-localhost ()
+localhost (void)
{
static char *buf = 0;
static size_t buf_len = 0;