Add extern "C" for C++. From joerg at britannica dot bec dot de

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17667 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-06-22 01:32:24 +00:00
parent ed87ea10a6
commit ab3f4e34b9
2 changed files with 16 additions and 0 deletions

View File

@@ -42,6 +42,10 @@
#endif #endif
#endif #endif
#ifdef __cplusplus
extern "C" {
#endif
#define fnmatch rk_fnmatch #define fnmatch rk_fnmatch
#define FNM_NOMATCH 1 /* Match failed. */ #define FNM_NOMATCH 1 /* Match failed. */
@@ -53,4 +57,8 @@
int ROKEN_LIB_FUNCTION int ROKEN_LIB_FUNCTION
fnmatch (const char *, const char *, int); fnmatch (const char *, const char *, int);
#ifdef __cplusplus
}
#endif
#endif /* !_FNMATCH_H_ */ #endif /* !_FNMATCH_H_ */

View File

@@ -43,6 +43,10 @@
#endif #endif
#endif #endif
#ifdef __cplusplus
extern "C" {
#endif
#define glob_t rk_glob_t #define glob_t rk_glob_t
#define glob rk_glob #define glob rk_glob
#define globfree rk_globfree #define globfree rk_globfree
@@ -93,4 +97,8 @@ glob (const char *, int, int (*)(const char *, int), glob_t *);
void ROKEN_LIB_FUNCTION void ROKEN_LIB_FUNCTION
globfree (glob_t *); globfree (glob_t *);
#ifdef __cplusplus
}
#endif
#endif /* !_GLOB_H_ */ #endif /* !_GLOB_H_ */