mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
cleanup misc. issues
This commit is contained in:
parent
5c002466e3
commit
05ee522676
@ -5,15 +5,15 @@
|
||||
/* $Id: string.c,v 1.76 2010/05/26 21:43:33 dmh Exp $ */
|
||||
|
||||
#include "config.h"
|
||||
#include "ncdispatch.h"
|
||||
#include "nc.h"
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
#include <assert.h>
|
||||
#include "utf8proc.h"
|
||||
#include "nc.h"
|
||||
#include "rnd.h"
|
||||
#include "utf8proc.h"
|
||||
|
||||
|
||||
/* There are 3 levels of UTF8 checking: 1=> (exact)validating 2=>relaxed
|
||||
and 3=>very relaxed
|
||||
@ -289,7 +289,7 @@ set_NC_string(NC_string *ncstrp, const char *str)
|
||||
|
||||
#ifndef HAVE_STRDUP
|
||||
char*
|
||||
nulldup(const char* s)
|
||||
strdup(const char* s)
|
||||
{
|
||||
char* dup;
|
||||
if(s == NULL) return NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user