functions.h

changeset 4
c3acfb3b4957
parent 3
510d6b198dde
child 8
28319b20968c
     1.1 --- a/functions.h	Thu May 26 14:39:52 2011 +0200
     1.2 +++ b/functions.h	Fri May 27 12:49:33 2011 +0200
     1.3 @@ -1,9 +1,17 @@
     1.4  #ifndef _CLINE_FUNCTIONS_H
     1.5  #define _CLINE_FUNCTIONS_H
     1.6  
     1.7 +#ifdef _cplusplus
     1.8 +extern "C" {
     1.9 +#endif
    1.10 +
    1.11  int checkArgument(const char*, const char*);
    1.12  bool testSuffix(char* filename, settings_t* settings);
    1.13  int scanDirectory(DIR *dir, const int spaces,
    1.14                    char* currdir, settings_t* settings);
    1.15  
    1.16 -#endif /* V2_H */
    1.17 +#ifdef _cplusplus
    1.18 +}
    1.19 +#endif 
    1.20 +                  
    1.21 +#endif /* _CLINE_FUNCTIONS_H */

mercurial