aboutsummaryrefslogtreecommitdiff
path: root/include/utmp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/utmp.h')
-rw-r--r--include/utmp.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/include/utmp.h b/include/utmp.h
index b7f7d5fe2c..4f2bc88467 100644
--- a/include/utmp.h
+++ b/include/utmp.h
@@ -2,18 +2,18 @@
#include <login/utmp.h>
/* Now define the internal interfaces. */
-extern void __updwtmp __P ((__const char *__wtmp_file,
- __const struct utmp *__utmp));
-extern int __utmpname __P ((__const char *__file));
-extern struct utmp *__getutent __P ((void));
-extern void __setutent __P ((void));
-extern void __endutent __P ((void));
-extern struct utmp *__getutid __P ((__const struct utmp *__id));
-extern struct utmp *__getutline __P ((__const struct utmp *__line));
-extern struct utmp *__pututline __P ((__const struct utmp *__utmp_ptr));
-extern int __getutent_r __P ((struct utmp *__buffer, struct utmp **__result));
-extern int __getutid_r __P ((__const struct utmp *__id, struct utmp *__buffer,
- struct utmp **__result));
-extern int __getutline_r __P ((__const struct utmp *__line,
- struct utmp *__buffer, struct utmp **__result));
+extern void __updwtmp (__const char *__wtmp_file,
+ __const struct utmp *__utmp) __THROW;
+extern int __utmpname (__const char *__file) __THROW;
+extern struct utmp *__getutent (void) __THROW;
+extern void __setutent (void) __THROW;
+extern void __endutent (void) __THROW;
+extern struct utmp *__getutid (__const struct utmp *__id) __THROW;
+extern struct utmp *__getutline (__const struct utmp *__line) __THROW;
+extern struct utmp *__pututline (__const struct utmp *__utmp_ptr) __THROW;
+extern int __getutent_r (struct utmp *__buffer, struct utmp **__result) __THROW;
+extern int __getutid_r (__const struct utmp *__id, struct utmp *__buffer,
+ struct utmp **__result) __THROW;
+extern int __getutline_r (__const struct utmp *__line,
+ struct utmp *__buffer, struct utmp **__result) __THROW;
#endif