summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys/dirent.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/sys/dirent.h')
-rw-r--r--usr/src/uts/common/sys/dirent.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr/src/uts/common/sys/dirent.h b/usr/src/uts/common/sys/dirent.h
index 7778fbe0c9..225de0b77e 100644
--- a/usr/src/uts/common/sys/dirent.h
+++ b/usr/src/uts/common/sys/dirent.h
@@ -23,6 +23,8 @@
/*
+ * Copyright 2014 Garrett D'Amore <garrett@damore.org>
+ *
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -119,11 +121,7 @@ typedef struct dirent64 {
#endif
#endif /* _LP64 && _LARGEFILE64_SOURCE */
-#if defined(__STDC__)
extern int getdents(int, struct dirent *, size_t);
-#else
-extern int getdents();
-#endif
/* N.B.: transitional large file interface version deliberately not provided */