--- linenoise.h 2016-09-01 13:45:57.027428000 +0100 +++ linenoise.hh 2016-09-01 17:42:43.681920000 +0100 @@ -39,10 +39,6 @@ #ifndef __LINENOISE_H #define __LINENOISE_H -#ifdef __cplusplus -extern "C" { -#endif - typedef struct linenoiseCompletions { size_t len; char **cvec; @@ -66,8 +62,4 @@ void linenoiseSetMultiLine(int ml); void linenoisePrintKeyCodes(void); -#ifdef __cplusplus -} -#endif - #endif /* __LINENOISE_H */