Commit b8978127 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

delare error functions as extern C

parent 55300d90
......@@ -12,6 +12,10 @@
#define _VERBOSE 2 /* Error flag: report errors */
#define _DEBUG 4 /* Error flag: debug */
#ifdef __cplusplus
extern "C" {
#endif
extern int _ExitOnError; /* If set to 1, exit on error (default 1) */
extern int _Verbose; /* If set to 1, errors are reported (default 1) */
extern int _Debug; /* If set to 1, debuggig (default 0) */
......@@ -66,6 +70,10 @@ cdiAbortC_serial(const char *caller, const char *filename,
const char *errorString, va_list ap)
__attribute__((noreturn));
#if defined (__cplusplus)
}
#endif
#endif /* _ERROR_H */
/*
* Local Variables:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment