dont wrap other header files with extern "C"
This commit is contained in:
+5
-2
@@ -22,8 +22,7 @@
|
||||
* traditional C
|
||||
*/
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#define CAC_ANSI_FUNC_PROTO
|
||||
# define CAC_ANSI_FUNC_PROTO
|
||||
#endif
|
||||
|
||||
#ifdef __STDC__
|
||||
@@ -45,6 +44,10 @@ extern "C" {
|
||||
#include "db_access.h"
|
||||
#include "caeventmask.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef void *chid;
|
||||
typedef chid chanId; /* for when the structures field name is "chid" */
|
||||
typedef long chtype;
|
||||
|
||||
Reference in New Issue
Block a user