memmove, strtoul, and strcasestr functions are part of ISO C90, remove the compatibility shim
This commit is contained in:
@@ -91,21 +91,6 @@
|
||||
*/
|
||||
@ISC_PLATFORM_NEEDSTRLCAT@
|
||||
|
||||
/*
|
||||
* Define if this system needs strtoul.
|
||||
*/
|
||||
@ISC_PLATFORM_NEEDSTRTOUL@
|
||||
|
||||
/*
|
||||
* Define if this system needs memmove.
|
||||
*/
|
||||
@ISC_PLATFORM_NEEDMEMMOVE@
|
||||
|
||||
/*
|
||||
* Define if this system needs strcasestr.
|
||||
*/
|
||||
@ISC_PLATFORM_NEEDSTRCASESTR@
|
||||
|
||||
/***
|
||||
*** Miscellaneous.
|
||||
***/
|
||||
|
||||
@@ -1,33 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*
|
||||
* See the COPYRIGHT file distributed with this work for additional
|
||||
* information regarding copyright ownership.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef ISC_STDLIB_H
|
||||
#define ISC_STDLIB_H 1
|
||||
|
||||
/*! \file isc/stdlib.h */
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <isc/lang.h>
|
||||
#include <isc/platform.h>
|
||||
|
||||
#ifdef ISC_PLATFORM_NEEDSTRTOUL
|
||||
#define strtoul isc_strtoul
|
||||
#endif
|
||||
|
||||
ISC_LANG_BEGINDECLS
|
||||
|
||||
unsigned long isc_strtoul(const char *, char **, int);
|
||||
|
||||
ISC_LANG_ENDDECLS
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user