aboutsummaryrefslogtreecommitdiff
path: root/system/include/libc/sys
diff options
context:
space:
mode:
Diffstat (limited to 'system/include/libc/sys')
-rw-r--r--system/include/libc/sys/dirent.h2
-rw-r--r--system/include/libc/sys/unistd.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/system/include/libc/sys/dirent.h b/system/include/libc/sys/dirent.h
index 727dbf94..edcc5746 100644
--- a/system/include/libc/sys/dirent.h
+++ b/system/include/libc/sys/dirent.h
@@ -23,6 +23,8 @@ DIR *opendir(const char *);
void seekdir(DIR *, long);
long telldir(DIR *);
DIR *readdir(DIR *);
+int closedir(DIR *dirp);
+void rewinddir(DIR *dirp);
#ifdef __cplusplus
}
diff --git a/system/include/libc/sys/unistd.h b/system/include/libc/sys/unistd.h
index 45887d11..a4110144 100644
--- a/system/include/libc/sys/unistd.h
+++ b/system/include/libc/sys/unistd.h
@@ -14,7 +14,7 @@ extern "C" {
extern char **environ;
-void _EXFUN(_exit, (int __status ) _ATTRIBUTE ((noreturn)));
+void _EXFUN(_exit, (int __status )); /* _ATTRIBUTE ((noreturn))); */
int _EXFUN(access,(const char *__path, int __amode ));
unsigned _EXFUN(alarm, (unsigned __secs ));