Commit 2a04ebcc authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Removed unsed include files.

parent adf05fd2
#if defined (HAVE_CONFIG_H)
# include "config.h"
#endif
#include <stddef.h> // for NULL
#include "cdi.h"
#include "basetime.h"
#include "error.h"
......@@ -20,6 +16,7 @@ void basetimeInit(basetime_t *basetime)
basetime->lwrf = false;
basetime->timevar_cache = NULL;
}
/*
* Local Variables:
* c-file-style: "Java"
......
#if defined (HAVE_CONFIG_H)
# include "config.h"
#endif
#include "cdi.h"
#include "error.h"
#include "file.h"
......
#if defined (HAVE_CONFIG_H)
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
......@@ -10,7 +10,7 @@
#include "cdf_int.h"
#include "namespace.h"
#if defined (HAVE_LIBNETCDF)
#ifdef HAVE_LIBNETCDF
/*
#if ! defined (MIN_BUF_SIZE)
# define MIN_BUF_SIZE 131072L
......
#ifndef CDF_INT_H
#define CDF_INT_H
#if defined (HAVE_LIBNETCDF)
#ifdef HAVE_LIBNETCDF
#include <netcdf.h>
......
#if defined (HAVE_CONFIG_H)
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
......
#ifndef CDF_LAZY_GRID_H_
#define CDF_LAZY_GRID_H_
#if defined (HAVE_CONFIG_H)
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
......
......@@ -11,7 +11,6 @@
#include "cdi.h"
#include "cdi_int.h"
#include "stream_cdf.h"
#include "cdf.h"
#include "cdf_int.h"
#include "vlist.h"
#include "vlist_var.h"
......
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <assert.h>
#include <limits.h>
#include <stdio.h>
......
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <inttypes.h>
#include <sys/types.h>
#include <stdlib.h>
......
#if defined (HAVE_CONFIG_H)
#include "config.h"
#endif
#include <stdio.h>
#include <string.h>
#include <errno.h>
......
......@@ -2,7 +2,6 @@
#include "config.h"
#endif
#include <stdarg.h>
#include <ctype.h>
#include "binary.h"
......@@ -12,11 +11,6 @@
#include "dmemory.h"
#include "file.h"
#include "gribapi.h"
#ifdef HAVE_LIBNETCDF
#include "stream_cdf.h"
#endif
#include "namespace.h"
#include "resource_handle.h"
#ifdef HAVE_LIBCGRIBEX
#include "cgribex.h"
......@@ -209,19 +203,19 @@ void cdiDebug(int level)
if ( level == 1 || (level & 16) )
{
#if defined (HAVE_LIBCGRIBEX)
#ifdef HAVE_LIBCGRIBEX
gribSetDebug(1);
#endif
#if defined (HAVE_LIBNETCDF)
#ifdef HAVE_LIBNETCDF
cdfDebug(1);
#endif
#if defined (HAVE_LIBSERVICE)
#ifdef HAVE_LIBSERVICE
srvDebug(1);
#endif
#if defined (HAVE_LIBEXTRA)
#ifdef HAVE_LIBEXTRA
extDebug(1);
#endif
#if defined (HAVE_LIBIEG)
#ifdef HAVE_LIBIEG
iegDebug(1);
#endif
}
......@@ -250,7 +244,7 @@ int cdiHaveFiletype(int filetype)
case CDI_FILETYPE_IEG: status = 1; break;
#endif
#ifdef HAVE_LIBGRIB
#if defined (HAVE_LIBGRIB_API) || defined (HAVE_LIBCGRIBEX)
#if defined HAVE_LIBGRIB_API || defined HAVE_LIBCGRIBEX
case CDI_FILETYPE_GRB: status = 1; break;
#endif
#ifdef HAVE_LIBGRIB_API
......
#ifndef CDI_INT_H
#define CDI_INT_H
#if defined (HAVE_CONFIG_H)
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
......
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "cdi.h"
#include "cdi_int.h"
#include "vlist.h"
#include "grid.h"
#include "zaxis.h"
#include "resource_unpack.h"
enum {KEY_INT = 1, KEY_FLOAT, KEY_BYTES};
......
#ifndef CDI_UUID_H
#define CDI_UUID_H
#if defined (HAVE_CONFIG_H)
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
......
/* Automatically generated by make_fint.c, don't edit! */
#if defined (HAVE_CONFIG_H)
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
......
......@@ -43,7 +43,7 @@
#ifndef GRIB_INT_H
#define GRIB_INT_H
#if defined (HAVE_CONFIG_H)
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
......@@ -3708,7 +3708,7 @@ void gribPrintSec4Wave(int *isec4)
fprintf(grprsm, "%20.10f\n", *ptemp);
}
}
#if defined (HAVE_CONFIG_H)
#ifdef HAVE_CONFIG_H
#endif
#include <string.h>
......@@ -5766,7 +5766,7 @@ void gribRepair1(int nrec, long recsize, unsigned char *gribbuffer)
#include <stdio.h>
#include <string.h>
#if defined (HAVE_CONFIG_H)
#ifdef HAVE_CONFIG_H
#endif
#if defined (HAVE_LIBSZ)
......
#if defined(HAVE_CONFIG_H)
# include "config.h"
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <stdio.h>
......
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
......
#if defined (HAVE_CONFIG_H)
# include "config.h"
#endif
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <ctype.h>
......
......@@ -11,7 +11,6 @@
#include <errno.h>
#include <fcntl.h>
#include <limits.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
......
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