diff -r 510d6b198dde -r c3acfb3b4957 functions.h --- a/functions.h Thu May 26 14:39:52 2011 +0200 +++ b/functions.h Fri May 27 12:49:33 2011 +0200 @@ -1,9 +1,17 @@ #ifndef _CLINE_FUNCTIONS_H #define _CLINE_FUNCTIONS_H +#ifdef _cplusplus +extern "C" { +#endif + int checkArgument(const char*, const char*); bool testSuffix(char* filename, settings_t* settings); int scanDirectory(DIR *dir, const int spaces, char* currdir, settings_t* settings); -#endif /* V2_H */ +#ifdef _cplusplus +} +#endif + +#endif /* _CLINE_FUNCTIONS_H */