summaryrefslogtreecommitdiff
path: root/sysdeps/generic/bits/utmp.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/bits/utmp.h')
-rw-r--r--sysdeps/generic/bits/utmp.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/sysdeps/generic/bits/utmp.h b/sysdeps/generic/bits/utmp.h
index ccc318bfa1..62817d36d1 100644
--- a/sysdeps/generic/bits/utmp.h
+++ b/sysdeps/generic/bits/utmp.h
@@ -17,12 +17,9 @@
Boston, MA 02111-1307, USA. */
#ifndef _UTMP_H
-# error "Never use <bits/utmp.h> directly; include <utmp.h> instead."
+# error "Never include <bits/utmp.h> directly; use <utmp.h> instead."
#endif
-
-#include <features.h>
-
#include <paths.h>
#include <time.h>
@@ -31,7 +28,6 @@
#define UT_LINESIZE 8
#define UT_HOSTSIZE 16
-__BEGIN_DECLS
struct lastlog
{
@@ -51,5 +47,3 @@ struct utmp
#define _HAVE_UT_HOST 1 /* We have the ut_host field. */
-
-__END_DECLS