Index: ports/glibc-compat/include/time.h |
diff --git a/ports/glibc-compat/include/sys/stat.h b/ports/glibc-compat/include/time.h |
similarity index 50% |
copy from ports/glibc-compat/include/sys/stat.h |
copy to ports/glibc-compat/include/time.h |
index 9fefc086316dbc37f91069b40996f6d2788788b6..01243ad3cccbaf5f1a2ce6ad976af3d829d07d64 100644 |
--- a/ports/glibc-compat/include/sys/stat.h |
+++ b/ports/glibc-compat/include/time.h |
@@ -3,20 +3,16 @@ |
* Use of this source code is governed by a BSD-style license that can be |
* found in the LICENSE file. |
*/ |
+#ifndef GLIBCEMU_TIME_H |
+#define GLIBCEMU_TIME_H 1 |
-#ifndef GLIBCEMU_SYS_STAT_H |
-#define GLIBCEMU_SYS_STAT_H 1 |
+#include_next <time.h> |
-#include_next <sys/stat.h> |
+#include <sys/cdefs.h> |
-#ifdef __cplusplus |
-extern "C" { |
-#endif |
- |
-mode_t umask(mode_t mask); |
- |
-#ifdef __cplusplus |
-} |
-#endif |
+__BEGIN_DECLS |
+time_t timegm(struct tm *tm); |
+time_t timelocal(struct tm *tm); |
+__END_DECLS |
#endif |