6796bc807a
1998-09-06 09:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu> * Makeconfig (+gccwarn): Remove -Wno-parentheses. * elf/dl-open.c: Quiet -Wparentheses warnings. * iconvdata/johab.c: Likewise. * iconvdata/uhc.c: Likewise. * inet/inet_net.c: Likewise. * io/fts.c: Likewise. * locale/newlocale.c: Likewise. * misc/getttyent.c: Likewise. * misc/mntent_r.c: Likewise. * misc/ttyslot.c: Likewise. * nscd/nscd_conf.c: Likewise. * nss/nsswitch.c: Likewise. * resolv/gethnamaddr.c: Likewise. * resolv/nsap_addr.c: Likewise. * resolv/res_debug.c: Likewise. * stdio-common/_itoa.c: Likewise. * stdlib/strtod.c: Likewise. * string/strverscmp.c: Likewise. * sunrpc/svc.c: Likewise. * sysdeps/libm-ieee754/e_cosh.c: Likewise. * sysdeps/libm-ieee754/e_gamma_r.c: Likewise. * sysdeps/libm-ieee754/e_sinh.c: Likewise. * sysdeps/posix/getaddrinfo.c: Likewise. * include/dlfcn.h: Likewise. * elf/dlfcn.h: Declare dladdr only for __USE_GNU. Define RTLD_DEFAULT.
20 lines
873 B
C
20 lines
873 B
C
#ifndef _UTMP_H
|
|
#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));
|
|
#endif
|