From a5113b141cd85a98b4711607c430e6e01775bd9a Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 9 Aug 1996 02:46:09 +0000 Subject: Update. Thu Aug 8 16:17:38 1996 Ulrich Drepper * pwd/getpwent.c: Define BUFLEN from NSS_BUFLEN_PASSWD. * pwd/getpwent_r.c: Likewise. * pwd/getpwnam.c: Likewise. * pwd/getpwnam_r.c: Likewise. * pwd/getpwuid.c: Likewise. * pwd/getpwuid_r.c: Likewise. * grp/getgrent.c: Define BUFLEN from NSS_BUFLEN_GROUP. * grp/getgrent_r.c: Likewise. * grp/getgrgid.c: Likewise. * grp/getgrgid_r.c: Likewise. * grp/getgrnam.c: Likewise. * pwd/fgetpwent_r.c: New file. Reentrant version of fgetpwent. * pwd/fgetpwent.c: Rewrite to use fgetpwent_r. * pwd/Makefile (routines): Add fgetpwent_r. * pwd/pwd.h: Add prototypes for __fgetpwent_r and fgetpwent_r. * grp/fgetgrent_r.c: New file. Reentrant version of fgetgrent. * grp/fgetgrent.c: Rewrite to use fgetgrent_r. * grp/Makefile (routines): Add fgetgrent_r. * grp/grp.h: Add prototypes for __fgetgrent_r and fgetgrent_r. Implement shadow password lookup functions. This is no complete shadow password suite. * shadow/Makefile: New file. * shadow/fgetspent.c: New file. * shadow/fgetspent_r.c: New file. * shadow/getspent.c: New file. * shadow/getspent_r.c: New file. * shadow/getspnam.c: New file. * shadow/getspnam_r.c: New file. * shadow/putspent.c: New file. * shadow/sgetspent.c: New file. * shadow/sgetspent_r.c: New file. * shadow/shadow.h: New file. * shadow/spwd-lookup.c: New file. * shadow/nss_files/files-spwd.c: New file. Thu Aug 8 13:33:45 1996 Ulrich Drepper * sysdeps/unix/sysv/linux/ftime.c: New file. Available system call is only a stub. Reported by Matthias Urlichs. * Makeconfig [!default_cflags]: Change default value from `-g' to `-g -O'. * configure.in: Recognize i686. * sysdeps/i386/i686/Implies: Default on i586 optimized code. Thu Aug 8 12:40:20 1996 Matthias Urlichs * Makeconfig [$(build-omitfp) == yes]: Add to CFLAGS-.so value of CFLAGS-.o, not CFLAGS-o. * sysdeps/unix/sysv/linux/init-first.c (init): Add volatile pointer to ourself. Otherwise `gcc -O3' optimized init away. sure that all tables in binary file are word-aligned. --- misc/sys/select.h | 2 ++ misc/sys/ustat.h | 8 +++++--- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'misc/sys') diff --git a/misc/sys/select.h b/misc/sys/select.h index dcb2012cff..729ce7a988 100644 --- a/misc/sys/select.h +++ b/misc/sys/select.h @@ -39,6 +39,8 @@ __BEGIN_DECLS of `struct timeval'. */ struct timeval; +typedef __fd_mask fd_mask; + /* Representation of a set of file descriptors. */ #define fd_set __fd_set diff --git a/misc/sys/ustat.h b/misc/sys/ustat.h index 57086c96da..fd51c5904e 100644 --- a/misc/sys/ustat.h +++ b/misc/sys/ustat.h @@ -20,15 +20,17 @@ Cambridge, MA 02139, USA. */ /* This interface is obsolete. Use instead. */ #ifndef _SYS_USTAT_H -#define _SYS_USTAT_H 1 + +#define _SYS_USTAT_H 1 +#include #include #include __BEGIN_DECLS -extern int __ustat __P ((dev_t, struct ustat *)); -extern int ustat __P ((dev_t, struct ustat *)); +extern int __ustat __P ((__dev_t __dev, struct ustat *__ubuf)); +extern int ustat __P ((__dev_t __dev, struct ustat *__ubuf)); __END_DECLS -- cgit 1.4.1