diff options
author | 2013-12-13 18:09:27 +0000 | |
---|---|---|
committer | 2013-12-13 18:09:27 +0000 | |
commit | d33565a9ede36e0a1c548f91db624103c6765a31 (patch) | |
tree | 7fafb996b8bf9f3b0938ebb38eaf69c439283c06 | |
parent | add an entry for "IIJmobile 510FU" (diff) | |
download | wireguard-openbsd-d33565a9ede36e0a1c548f91db624103c6765a31.tar.xz wireguard-openbsd-d33565a9ede36e0a1c548f91db624103c6765a31.zip |
Zap some getdirentries() leftovers.
okay guenther@
-rw-r--r-- | include/dirent.h | 4 | ||||
-rw-r--r-- | sys/sys/dirent.h | 4 |
2 files changed, 3 insertions, 5 deletions
diff --git a/include/dirent.h b/include/dirent.h index d7a7afd8719..cb0cab98e4e 100644 --- a/include/dirent.h +++ b/include/dirent.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dirent.h,v 1.32 2013/08/16 08:33:20 guenther Exp $ */ +/* $OpenBSD: dirent.h,v 1.33 2013/12/13 18:09:27 zhuk Exp $ */ /* $NetBSD: dirent.h,v 1.9 1995/03/26 20:13:37 jtc Exp $ */ /*- @@ -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 *); diff --git a/sys/sys/dirent.h b/sys/sys/dirent.h index f84fcac3162..09ad39ca5d7 100644 --- a/sys/sys/dirent.h +++ b/sys/sys/dirent.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dirent.h,v 1.10 2013/08/13 05:52:26 guenther Exp $ */ +/* $OpenBSD: dirent.h,v 1.11 2013/12/13 18:09:27 zhuk Exp $ */ /* $NetBSD: dirent.h,v 1.12 1996/04/09 20:55:25 cgd Exp $ */ /*- @@ -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 |