diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-12-31 18:51:25 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-12-31 18:51:25 +0000 |
commit | d8cf93f489282ed4dd0b727e9efd9efef192e952 (patch) | |
tree | 18872eaa470b0651e1071fb9c2b187cc1745f566 /sysdeps/gnu/utmpx.h | |
parent | 3216711f5d4cdfcafd10377f479937cf360e2c69 (diff) | |
download | glibc-d8cf93f489282ed4dd0b727e9efd9efef192e952.tar.gz glibc-d8cf93f489282ed4dd0b727e9efd9efef192e952.tar.xz glibc-d8cf93f489282ed4dd0b727e9efd9efef192e952.zip |
Update.
1999-12-31 Andreas Jaeger <aj@suse.de> * libio/strfile.h: Remove K&R compatibility. * locale/langinfo.h: Likewise. * locale/localeconv.c (localeconv): Likewise. * locale/programs/simple-hash.h: Likewise. * nis/nis_xdr.h: Likewise. * nis/rpcsvc/nislib.h: Likewise. * nis/rpcsvc/nis_callback.h: Likewise. * nis/rpcsvc/nis.h: Likewise. * nis/ypclnt.c: Likewise. * nscd/nscd_proto.h: Likewise. * nscd/nscd.c: Likewise. * sysdeps/generic/inttypes.h: Likewise. * sysdeps/gnu/utmpx.h: Likewise. * nis/nis_intern.h: Remove K&R compatibility; add missing ints. * sunrpc/rpcsvc/rusers.x: Likewise. * nis/rpcsvc/ypclnt.h: Remove K&R compatibility; reformat. * elf/dl-misc.c: Remove __libc_write prototype since it's already in include/unistd.h. * elf/dl-profile.c: Likewise. * elf/dl-load.c: Likewise for __libc_read. * elf/dl-profile.c: Remove __P. * elf/sprof.c: Likewise. * elf/sln.c: Likewise.
Diffstat (limited to 'sysdeps/gnu/utmpx.h')
-rw-r--r-- | sysdeps/gnu/utmpx.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/sysdeps/gnu/utmpx.h b/sysdeps/gnu/utmpx.h index a7b58daf7f..f7a7a3eeb0 100644 --- a/sysdeps/gnu/utmpx.h +++ b/sysdeps/gnu/utmpx.h @@ -48,40 +48,40 @@ struct utmp; __BEGIN_DECLS /* Open user accounting database. */ -extern void setutxent __P ((void)); +extern void setutxent (void) __THROW; /* Close user accounting database. */ -extern void endutxent __P ((void)); +extern void endutxent (void) __THROW; /* Get the next entry from the user accounting database. */ -extern struct utmpx *getutxent __P ((void)); +extern struct utmpx *getutxent (void) __THROW; /* Get the user accounting database entry corresponding to ID. */ -extern struct utmpx *getutxid __P ((__const struct utmpx *__id)); +extern struct utmpx *getutxid (__const struct utmpx *__id) __THROW; /* Get the user accounting database entry corresponding to LINE. */ -extern struct utmpx *getutxline __P ((__const struct utmpx *__line)); +extern struct utmpx *getutxline (__const struct utmpx *__line) __THROW; /* Write the entry UTMPX into the user accounting database. */ -extern struct utmpx *pututxline __P ((__const struct utmpx *__utmpx)); +extern struct utmpx *pututxline (__const struct utmpx *__utmpx) __THROW; #ifdef __USE_GNU /* Change name of the utmpx file to be examined. */ -extern int utmpxname __P ((__const char *__file)); +extern int utmpxname (__const char *__file) __THROW; /* Append entry UTMP to the wtmpx-like file WTMPX_FILE. */ -extern void updwtmpx __P ((__const char *__wtmpx_file, - __const struct utmpx *__utmpx)); +extern void updwtmpx (__const char *__wtmpx_file, + __const struct utmpx *__utmpx) __THROW; /* Copy the information in UTMPX to UTMP. */ -extern void getutmp __P ((__const struct utmpx *__utmpx, - struct utmp *__utmp)); +extern void getutmp (__const struct utmpx *__utmpx, + struct utmp *__utmp) __THROW; /* Copy the information in UTMP to UTMPX. */ -extern void getutmpx __P ((__const struct utmp *__utmp, - struct utmpx *__utmpx)); +extern void getutmpx (__const struct utmp *__utmp, + struct utmpx *__utmpx) __THROW; #endif __END_DECLS |