summaryrefslogtreecommitdiff
path: root/src/hostname.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-03-21 22:47:02 +0000
committerJim Meyering <jim@meyering.net>1996-03-21 22:47:02 +0000
commit1954f681c6ca11ff91ab59ec074a03859ab0dc46 (patch)
treeeab5f845f4db26e0cdd8c2f5e3eff0e9411a7440 /src/hostname.c
parentbb6a5487126d5422a3fdbbc894708800a1b8121f (diff)
downloadcoreutils-1954f681c6ca11ff91ab59ec074a03859ab0dc46.tar.xz
(main): Declare to be of type int, not void.
Diffstat (limited to 'src/hostname.c')
-rw-r--r--src/hostname.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hostname.c b/src/hostname.c
index 83d72279e..063a9f0e3 100644
--- a/src/hostname.c
+++ b/src/hostname.c
@@ -72,7 +72,7 @@ Print the hostname of the current system.\n\
exit (status);
}
-void
+int
main (int argc, char **argv)
{
char *hostname;