From: Lawrence S. <ljs...@us...> - 2020-05-27 15:26:03
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "A pseudo Operating System for the Dreamcast.". The branch, master has been updated via eb77357a703e07af08ba538f20b3d2fe8252c3f4 (commit) from a143d20206722d1803d89c878ec4c042a4d8f413 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit eb77357a703e07af08ba538f20b3d2fe8252c3f4 Author: Lawrence Sebald <ljs...@us...> Date: Wed May 27 11:25:44 2020 -0400 Add C++ guards around <sys/dirent.h>. ----------------------------------------------------------------------- Summary of changes: include/sys/dirent.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/sys/dirent.h b/include/sys/dirent.h index 5006dae..bfdef69 100644 --- a/include/sys/dirent.h +++ b/include/sys/dirent.h @@ -16,6 +16,10 @@ #ifndef __SYS_DIRENT_H #define __SYS_DIRENT_H +#include <kos/cdefs.h> + +__BEGIN_DECLS + #include <unistd.h> #include <arch/types.h> #include <kos/fs.h> @@ -130,9 +134,13 @@ void rewinddir(DIR *dir); int scandir(const char *dir, struct dirent ***namelist, int(*filter)(const struct dirent *), int(*compar)(const struct dirent **, const struct dirent **)); + /** \brief Not implemented */ void seekdir(DIR *dir, off_t offset); + /** \brief Not implemented */ off_t telldir(DIR *dir); +__END_DECLS + #endif hooks/post-receive -- A pseudo Operating System for the Dreamcast. |