removed extraneous global variable

This commit is contained in:
Dennis Heimbigner 2010-11-24 23:12:20 +00:00
parent 186597e4ad
commit c96133ded7
4 changed files with 8 additions and 0 deletions

View File

@ -41,9 +41,11 @@ extern int num_spaces;
static int NC4_enddef(int ncid);
#ifdef IGNORE
/* This extern points to the pointer that holds the list of open
* netCDF files. */
extern NC_FILE_INFO_T *nc_file;
#endif
/* These are the default chunk cache sizes for HDF5 files created or
* opened with netCDF-4. */

View File

@ -18,7 +18,9 @@
#include <H5DSpublic.h>
#include <math.h>
#ifdef IGNORE
extern NC_FILE_INFO_T *nc_file;
#endif
#define NC3_STRICT_ATT_NAME "_nc3_strict"

View File

@ -16,8 +16,10 @@ $Id: ncfunc.c,v 1.51 2010/05/26 20:13:32 dmh Exp $
#include "nc4internal.h"
#include "nc3dispatch.h"
#ifdef IGNORE
/* Keep a linked list of file info objects. */
extern NC_FILE_INFO_T *nc_file;
#endif
#ifdef IGNORE
/* This function deletes a member of parliment. Be careful! Last time

View File

@ -11,7 +11,9 @@
#include "netcdf.h"
#include <nc_tests.h>
#ifdef IGNORE
extern NC_FILE_INFO_T *nc_file;
#endif
void test_redef(int format);
#define FILE_NAME "tst_files.nc"