mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-03-25 17:40:27 +08:00
Fenceposted includes to nc4internal.h in support of https://github.com/Unidata/netcdf-c/issues/275
This commit is contained in:
parent
3983b37ac5
commit
2e71768c47
@ -16,6 +16,8 @@
|
||||
#include <stdarg.h>
|
||||
#include <string.h>
|
||||
#include <hdf5.h>
|
||||
|
||||
|
||||
#include "ncdimscale.h"
|
||||
#include "nc_logging.h"
|
||||
|
||||
|
@ -10,12 +10,12 @@
|
||||
#endif
|
||||
|
||||
#include "ncdispatch.h"
|
||||
#include "nc4internal.h"
|
||||
|
||||
extern int NC3_initialize(void);
|
||||
extern int NC3_finalize(void);
|
||||
|
||||
#ifdef USE_NETCDF4
|
||||
#include "nc4internal.h"
|
||||
extern int NC4_initialize(void);
|
||||
extern int NC4_finalize(void);
|
||||
#endif
|
||||
|
@ -44,7 +44,10 @@ int optind;
|
||||
#include "indent.h"
|
||||
#include "isnan.h"
|
||||
#include "cdl.h"
|
||||
|
||||
#ifdef USE_NETCDF4
|
||||
#include "nc4internal.h" /* to get name of the special properties file */
|
||||
#endif
|
||||
|
||||
#if !defined(HAVE_SSIZE_T) && !defined(H5_SIZEOF_SSIZE_T)
|
||||
typedef int ssize_t;
|
||||
@ -72,7 +75,7 @@ static int iskeyword(const char* kw)
|
||||
const char** p;
|
||||
for(p=keywords;*p;p++) {
|
||||
if(strcmp(kw,*p)==0) return 1;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -790,7 +793,7 @@ pr_att(
|
||||
/* printf ("\t\t%s:%s = ", varname, att.name); */
|
||||
print_name(varname);
|
||||
if(iskeyword(varname)) /* see discussion about escapes in ncgen man page*/
|
||||
printf(" ");
|
||||
printf(" ");
|
||||
printf(":");
|
||||
print_name(att.name);
|
||||
printf(" = ");
|
||||
|
@ -47,7 +47,10 @@
|
||||
#include "util.h"
|
||||
#include "debug.h"
|
||||
#include "nc.h"
|
||||
|
||||
#ifdef USE_NETCDF4
|
||||
#include "nc4internal.h"
|
||||
#endif
|
||||
|
||||
extern int specialconstants;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user