mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-04-20 18:56:39 +02:00
* src/*.c: Include "error.h" instead of simply declaring
`void error ();'.
This commit is contained in:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user