diff options
Diffstat (limited to 'nuttx/include/sys/stat.h')
-rw-r--r-- | nuttx/include/sys/stat.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/nuttx/include/sys/stat.h b/nuttx/include/sys/stat.h index 12e78313c..0d686e10f 100644 --- a/nuttx/include/sys/stat.h +++ b/nuttx/include/sys/stat.h @@ -46,4 +46,23 @@ * Type Definitions ************************************************************/ +/************************************************************ + * Global Function Prototypes + ************************************************************/ + +#undef EXTERN +#if defined(__cplusplus) +#define EXTERN extern "C" +extern "C" { +#else +#define EXTERN extern +#endif + +EXTERN int mkdir(const char *pathname, mode_t mode); + +#undef EXTERN +#if defined(__cplusplus) +} +#endif + #endif /* __SYS_STAT_H */ |