Commit 47abc2db authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Move declaration of CDF_Debug to header.

parent 4b334db7
......@@ -3,6 +3,8 @@
void cdfDebug(int debug);
extern int CDF_Debug;
const char *cdfLibraryVersion(void);
const char *hdfLibraryVersion(void);
......
......@@ -9,11 +9,10 @@
#include "cdi.h"
#include "cdi_int.h"
#include "cdf.h"
#include "cdf_int.h"
#include "namespace.h"
extern int CDF_Debug;
#if defined (HAVE_LIBNETCDF)
/*
#if ! defined (MIN_BUF_SIZE)
......
......@@ -21,6 +21,7 @@
#include "gaussgrid.h"
#include "cdi_int.h"
#include "stream_cdf.h"
#include "cdf.h"
#include "cdf_int.h"
#include "varscan.h"
#include "vlist.h"
......@@ -3806,7 +3807,6 @@ cdf_write_var_data(int fileID, int vlistID, int varID, int ncvarid, int dtype, l
const float *pdata_sp = (const float *) data;
float *mdata_sp = NULL;
float *sdata_sp = NULL;
extern int CDF_Debug;
/* if ( dtype == DATATYPE_INT8 || dtype == DATATYPE_INT16 || dtype == DATATYPE_INT32 ) */
{
......
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