diff options
author | Jim Meyering <jim@meyering.net> | 1994-12-20 05:26:44 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1994-12-20 05:26:44 +0000 |
commit | a9f1783e20a09e761fa29faec3f381978043cf88 (patch) | |
tree | 2ff01e7f6d7daa09d1b93374b0ccf86d649f120b /src/hostname.c | |
parent | 6bb619d33cebde41f996b8fade52cbab91de6a14 (diff) | |
download | coreutils-a9f1783e20a09e761fa29faec3f381978043cf88.tar.xz |
* src/*.c: Include "error.h" instead of simply declaring
`void error ();'.
Diffstat (limited to 'src/hostname.c')
-rw-r--r-- | src/hostname.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hostname.c b/src/hostname.c index df533a57b..d1266c14b 100644 --- a/src/hostname.c +++ b/src/hostname.c @@ -24,6 +24,7 @@ #include "system.h" #include "version.h" #include "long-options.h" +#include "error.h" #if !defined(HAVE_SETHOSTNAME) && defined(HAVE_SYSINFO) && \ defined (HAVE_SYS_SYSTEMINFO_H) && defined(HAVE_LIMITS_H) @@ -46,7 +47,6 @@ sethostname (name, namelen) #define HAVE_SETHOSTNAME 1 /* Now we have it... */ #endif -void error (); char *xgethostname (); /* The name this program was run with. */ |