diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-10-07 20:56:26 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-10-07 20:56:26 -0700 |
commit | 592b631c192602869696f072878866d8f89a2316 (patch) | |
tree | a2b99099f53daf7c65ed5e99ab650518b7ae2595 /system/include/libc/sys | |
parent | 69ae3975ffde37d00dc84b2b446ab03dcef2f1e7 (diff) |
header fixes; fixes poppler
Diffstat (limited to 'system/include/libc/sys')
-rw-r--r-- | system/include/libc/sys/dirent.h | 2 | ||||
-rw-r--r-- | system/include/libc/sys/unistd.h | 2 |
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 )); |