Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
47abc2db
Commit
47abc2db
authored
Oct 02, 2015
by
Thomas Jahns
🤸
Browse files
Move declaration of CDF_Debug to header.
parent
4b334db7
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/cdf.h
View file @
47abc2db
...
...
@@ -3,6 +3,8 @@
void
cdfDebug
(
int
debug
);
extern
int
CDF_Debug
;
const
char
*
cdfLibraryVersion
(
void
);
const
char
*
hdfLibraryVersion
(
void
);
...
...
src/cdf_int.c
View file @
47abc2db
...
...
@@ -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)
...
...
src/stream_cdf.c
View file @
47abc2db
...
...
@@ -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 ) */
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment