summaryrefslogtreecommitdiff
path: root/include/utmp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/utmp.h')
-rw-r--r--include/utmp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/utmp.h b/include/utmp.h
index e362181aa..a9d5f53eb 100644
--- a/include/utmp.h
+++ b/include/utmp.h
@@ -23,6 +23,8 @@
#define USER_PROCESS 7
#define DEAD_PROCESS 8
+__BEGIN_DECLS
+
struct utmp
{
short ut_type; /* type of login */
@@ -52,5 +54,7 @@ extern void logwtmp (const char *line, const char *name, const char *host);
struct utmp * __getutent __P ((int));
#endif
+__END_DECLS
+
#endif /* __UTMP_H */