From a886f7ac1a2f0bfc0bedbae20f569dad57ce3a4a Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 7 Sep 2004 08:40:43 +0000 Subject: First pass prototype removals from auditing header files: a.out.h to libgen.h (omitting complex.h for a later separate effort for the math stuff) --- include/dirent.h | 51 --------------------------------------------------- 1 file changed, 51 deletions(-) (limited to 'include/dirent.h') diff --git a/include/dirent.h b/include/dirent.h index 8079d7097..006e5dcb2 100644 --- a/include/dirent.h +++ b/include/dirent.h @@ -200,10 +200,6 @@ extern long int telldir (DIR *__dirp) __THROW; /* Return the file descriptor used by DIRP. */ extern int dirfd (DIR *__dirp) __THROW; -# if defined __OPTIMIZE__ && defined _DIR_dirfd -# define dirfd(dirp) _DIR_dirfd (dirp) -# endif - # ifndef MAXNAMLEN /* Get the definitions of the POSIX.1 limits. */ # include @@ -270,53 +266,6 @@ extern int alphasort64 (__const void *__e1, __const void *__e2) __THROW __attribute_pure__; # endif -# ifdef __USE_GNU -/* Function to compare two `struct dirent's by name & version. */ -# ifndef __USE_FILE_OFFSET64 -extern int versionsort (__const void *__e1, __const void *__e2) - __THROW __attribute_pure__; -# else -# ifdef __REDIRECT -extern int __REDIRECT (versionsort, - (__const void *__e1, __const void *__e2) - __THROW, - versionsort64) __attribute_pure__; -# else -# define versionsort versionsort64 -# endif -# endif - -# ifdef __USE_LARGEFILE64 -extern int versionsort64 (__const void *__e1, __const void *__e2) - __THROW __attribute_pure__; -# endif -# endif - -/* Read directory entries from FD into BUF, reading at most NBYTES. - Reading starts at offset *BASEP, and *BASEP is updated with the new - position after reading. Returns the number of bytes read; zero when at - end of directory; or -1 for errors. */ -# ifndef __USE_FILE_OFFSET64 -extern __ssize_t getdirentries (int __fd, char *__restrict __buf, - size_t __nbytes, - __off_t *__restrict __basep) __THROW; -# else -# ifdef __REDIRECT -extern __ssize_t __REDIRECT (getdirentries, - (int __fd, char *__restrict __buf, - size_t __nbytes, - __off64_t *__restrict __basep) __THROW, - getdirentries64); -# else -# define getdirentries getdirentries64 -# endif -# endif - -# ifdef __USE_LARGEFILE64 -extern __ssize_t getdirentries64 (int __fd, char *__restrict __buf, - size_t __nbytes, - __off64_t *__restrict __basep) __THROW; -# endif #endif /* Use BSD or misc. */ -- cgit v1.2.3