mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-27 07:30:33 +08:00
29 lines
751 B
C
29 lines
751 B
C
/*********************************************************************
|
|
* Copyright 2010, UCAR/Unidata
|
|
* See netcdf/COPYRIGHT file for copying and redistribution conditions.
|
|
*********************************************************************/
|
|
|
|
/* $Id: stub3.c,v 1.4 2010/05/24 19:48:16 dmh Exp $ */
|
|
/* $Header: /upc/share/CVS/netcdf-3/libsrc/stub3.c,v 1.4 2010/05/24 19:48:16 dmh Exp $ */
|
|
|
|
#include "config.h"
|
|
#include "netcdf.h"
|
|
|
|
/* Need to re-direct certain functions that are
|
|
duplicated in netcdf4
|
|
*/
|
|
|
|
extern int NC3_initialize(void);
|
|
|
|
#ifdef USE_NETCDF4
|
|
extern const char* nc3_strerror(int);
|
|
const char* nc_strerror(int err) {return nc3_strerror(err);}
|
|
#endif
|
|
|
|
int
|
|
NC_initialize(void)
|
|
{
|
|
NC3_initialize();
|
|
return NC_NOERR;
|
|
}
|