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:
@@ -42,6 +42,10 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define fnmatch rk_fnmatch
|
||||
|
||||
#define FNM_NOMATCH 1 /* Match failed. */
|
||||
@@ -53,4 +57,8 @@
|
||||
int ROKEN_LIB_FUNCTION
|
||||
fnmatch (const char *, const char *, int);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* !_FNMATCH_H_ */
|
||||
|
@@ -43,6 +43,10 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define glob_t rk_glob_t
|
||||
#define glob rk_glob
|
||||
#define globfree rk_globfree
|
||||
@@ -93,4 +97,8 @@ glob (const char *, int, int (*)(const char *, int), glob_t *);
|
||||
void ROKEN_LIB_FUNCTION
|
||||
globfree (glob_t *);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* !_GLOB_H_ */
|
||||
|
Reference in New Issue
Block a user