diff options
author | Andreas Schwab <schwab@redhat.com> | 2010-02-06 02:03:10 -0800 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2010-02-06 02:03:10 -0800 |
commit | 03849910cd0493dde35315eb0baaaf8d5056d296 (patch) | |
tree | 454b87b3db15547d201880ad9ea52835900343a0 /sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h | |
parent | 70da4a1826f4e7841d954820601d311bbd43940a (diff) | |
download | glibc-03849910cd0493dde35315eb0baaaf8d5056d296.tar.gz |
Avoid PLT calls in utmp compat wrappers on Linux/s390
Diffstat (limited to 'sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h')
-rw-r--r-- | sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h b/sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h index 5f468ed68d..c61e1cd879 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h +++ b/sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h @@ -49,4 +49,16 @@ struct utmpx32 char __unused[20]; /* Reserved for future use. */ }; +/* The internal interface needed by the compat wrapper functions. */ +extern struct utmpx *__getutxent (void); +extern struct utmpx *__getutxid (__const struct utmpx *__id); +extern struct utmpx *__getutxline (__const struct utmpx *__line); +extern struct utmpx *__pututxline (__const struct utmpx *__utmpx); +extern void __updwtmpx (__const char *__wtmpx_file, + __const struct utmpx *__utmpx); +extern void __getutmp (__const struct utmpx *__utmpx, + struct utmp *__utmp); +extern void __getutmpx (__const struct utmp *__utmp, + struct utmpx *__utmpx); + #endif /* utmpx32.h */ |