-/* The stat() routines in NetBSD's C library are compatibility
- wrappers for some very old version of the stat buffer structure.
- Programs must be processed by the C toolchain in order to get an
- up-to-date definition of the stat() routine. These wrappers are
- used only in sb-posix, as of 2006-10-15. -- RMK */
-int _stat(const char *path, struct stat *sb) {
- return (stat(path, sb));
+/* Various routines in NetBSD's C library are compatibility wrappers
+ for old versions. Programs must be processed by the C toolchain in
+ order to get up-to-date definitions of such routines. */
+/* The stat-family, opendir, and readdir are used only in sb-posix, as
+ of 2007-01-16. -- RMK */
+int
+_stat(const char *path, struct stat *sb)
+{
+ return stat(path, sb);