Commit 55300d90 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

delare cdi functions as extern C

parent 05e2739b
...@@ -9,11 +9,12 @@ ...@@ -9,11 +9,12 @@
#include <stdio.h> #include <stdio.h>
#include <sys/types.h> #include <sys/types.h>
/*
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
*/
#define CDI_MAX_NAME 256 /* max length of a name */ #define CDI_MAX_NAME 256 /* max length of a name */
#define CDI_UNDEFID -1 #define CDI_UNDEFID -1
...@@ -1188,15 +1189,13 @@ int subtypeInqAttribute(int subtypeID, int index, const char *key, int *outV ...@@ -1188,15 +1189,13 @@ int subtypeInqAttribute(int subtypeID, int index, const char *key, int *outV
/* vlistInqVarSubtype: Return subtype ID for a given variable. */ /* vlistInqVarSubtype: Return subtype ID for a given variable. */
int vlistInqVarSubtype(int vlistID, int varID); int vlistInqVarSubtype(int vlistID, int varID);
void gribapiLibraryVersion(int *major_version, int *minor_version, int *revision_version); void gribapiLibraryVersion(int *major_version, int *minor_version, int *revision_version);
/*
#if defined (__cplusplus) #if defined (__cplusplus)
} }
#endif #endif
*/
#endif /* CDI_H_ */ #endif /* CDI_H_ */
/* /*
* Local Variables: * Local Variables:
......
Markdown is supported
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