--- previous/src/includes/file.h 2018/04/24 19:32:25 1.1.1.3 +++ previous/src/includes/file.h 2018/04/24 19:34:18 1.1.1.4 @@ -5,9 +5,15 @@ your option any later version. Read the file gpl.txt for details. */ +#pragma once + #ifndef HATARI_FILE_H #define HATARI_FILE_H +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + void File_CleanFileName(char *pszFileName); void File_AddSlashToEndFileName(char *pszFileName); bool File_DoesFileExtensionMatch(const char *pszFileName, const char *pszExtension); @@ -34,4 +40,8 @@ void File_MakeValidPathName(char *pPathN void File_PathShorten(char *path, int dirs); void File_HandleDotDirs(char *path); +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif /* HATARI_FILE_H */