aboutsummaryrefslogtreecommitdiff
path: root/include/utmp.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-10-19 13:53:34 +0000
committerUlrich Drepper <drepper@redhat.com>1999-10-19 13:53:34 +0000
commitfe559c5e1ce629f94f1621c76f5cfd59d6028830 (patch)
tree8aff0f4deccf163242ad22f0dddcd2f2da238c26 /include/utmp.h
parent8847214f239965f538e42a09d3d08ce8c700dea2 (diff)
downloadglibc-fe559c5e1ce629f94f1621c76f5cfd59d6028830.tar
glibc-fe559c5e1ce629f94f1621c76f5cfd59d6028830.tar.gz
glibc-fe559c5e1ce629f94f1621c76f5cfd59d6028830.tar.bz2
glibc-fe559c5e1ce629f94f1621c76f5cfd59d6028830.zip
Update.
1999-10-19 Andreas Jaeger <aj@suse.de> * include/bits/ipc.h: Remove K&R compatibility. * include/libintl.h: Likewise. * include/math.h: Likewise. * include/mntent.h: Likewise * include/netdb.h: Likewise. * include/pwd.h: Likewise. * include/sched.h: Likewise. * include/shadow.h: Likewise * include/stdlib.h: Likewise. * include/sys/file.h: Likewise. * include/sys/gmon.h: Likewise. * include/sys/ioctl.h: Likewise. * include/sys/mman.h: Likewise. * include/sys/resource.h: Likewise. * include/sys/socket.h: Likewise. * include/sys/stat.h: Likewise. * include/sys/sysinfo.h: Likewise. * include/sys/time.h: Likewise. * include/sys/times.h: Likewise. * include/sys/uio.h: Likewise. * include/sys/wait.h: Likewise. * include/termios.h: Likewise. * include/time.h: Likewise. * include/ulimit.h: Likewise. * include/utmp.h: Likewise. * include/wchar.h: Likewise. * include/wctype.h: Likewise. 1999-10-19 Andreas Jaeger <aj@suse.de> * math/libm-test.inc: Remove one K&R compatibility. (main): Enable nexttoward_test. * math/gen-libm-test.pl (output_ulps): Output name of Ulps file to libm-test-ulps.h; pretty print output a bit. 1999-10-19 Andreas Jaeger <aj@suse.de> * iconv/iconv_prog.c (main): Set exit value in case that reading from stdin failed [PR libc/1404].
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