Print this page
remove support for non-ANSI compilation
*** 21,30 ****
--- 21,32 ----
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
/* All Rights Reserved */
/*
+ * Copyright 2014 Garrett D'Amore <garrett@damore.org>
+ *
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _SYS_DIRENT_H
*** 117,131 ****
#define dirent64 dirent
#define dirent64_t dirent_t
#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 */
#endif /* !defined(_KERNEL) */
#endif /* !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__) */
--- 119,129 ----