From 03849910cd0493dde35315eb0baaaf8d5056d296 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Sat, 6 Feb 2010 02:03:10 -0800 Subject: Avoid PLT calls in utmp compat wrappers on Linux/s390 --- sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h') 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 */ -- cgit v1.2.1