Changes to includes to supress a few specific MSVC warnings.

This commit is contained in:
Ward Fisher 2012-09-04 22:39:10 +00:00
parent 419c6a3b0a
commit 2fdea864a2
5 changed files with 6 additions and 4 deletions

View File

@ -35,7 +35,8 @@ NC_compare_nc_types(int ncid1, int typeid1, int ncid2, int typeid2,
}
else
{
int i, ret, equal1;
unsigned int i;
int ret, equal1;
char name1[NC_MAX_NAME];
char name2[NC_MAX_NAME];
size_t size1, size2;

View File

@ -8,7 +8,7 @@ Copyright 2010 University Corporation for Atmospheric
Research/Unidata. See COPYRIGHT file for more info.
*/
#include "config.h"
#include <stdlib.h>
#ifdef HAVE_SYS_RESOURCE_H
#include <sys/resource.h>

View File

@ -22,7 +22,7 @@ Author: D. Heimbigner 10/7/2008
#include <string.h>
#include <assert.h>
#include <netcdf.h>
#include "config.h"
#include "ncaux.h"
struct NCAUX_FIELD {

View File

@ -13,7 +13,7 @@
#include <fcntl.h>
#include <stdarg.h>
#include <string.h>
#include "config.h"
#include "nclog.h"
#define PREFIXLEN 8

View File

@ -8,6 +8,7 @@
#include <string.h>
#include <stdio.h>
#include <assert.h>
#include "config.h"
#include "ncuri.h"