This cleans up a bit after getdirentries(2) removal. The first hunk
makes it clear that getdirentries() is gone instead of losing your
hair at the linking time (found while trying to compile opencvs).
The second hunk just moves a comment in 2013.
okay?
--
zhuk@
Index: include/dirent.h
===================================================================
RCS file: /cvs/src/include/dirent.h,v
retrieving revision 1.32
diff -u -p -r1.32 dirent.h
--- include/dirent.h 16 Aug 2013 08:33:20 -0000 1.32
+++ include/dirent.h 13 Dec 2013 12:18:29 -0000
@@ -86,8 +86,6 @@ int closedir(DIR *);
#if __BSD_VISIBLE
int getdents(int, void *, size_t)
__attribute__ ((__bounded__(__string__,2,3)));
-int getdirentries(int, char *, int, off_t *)
- __attribute__ ((__bounded__(__string__,2,3)));
#endif /* __BSD_VISIBLE */
#if __XPG_VISIBLE
long telldir(DIR *);
Index: sys/sys/dirent.h
===================================================================
RCS file: /cvs/src/sys/sys/dirent.h,v
retrieving revision 1.10
diff -u -p -r1.10 dirent.h
--- sys/sys/dirent.h 13 Aug 2013 05:52:26 -0000 1.10
+++ sys/sys/dirent.h 13 Dec 2013 12:18:29 -0000
@@ -39,7 +39,7 @@
/*
* The dirent structure defines the format of directory entries returned by
- * the getdirentries(2) system call.
+ * the getdents(2) system call.
*
* A directory entry has a struct dirent at the front of it, containing its
* inode number, the length of the entry, and the length of the name