mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-24 01:07:21 +01:00
string.h defines nonstandard routines when _POSIX_SOURCE is
defined. It has been fixed to not do that. Submitted by: Jake Hamby <jehamby@lightside.com> Closes PR: 1954
This commit is contained in:
parent
9b50a3ce03
commit
2ad334cde8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=20600
@ -73,7 +73,7 @@ char *strtok __P((char *, const char *));
|
||||
size_t strxfrm __P((char *, const char *, size_t));
|
||||
|
||||
/* Nonstandard routines */
|
||||
#ifndef _ANSI_SOURCE
|
||||
#if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE)
|
||||
int bcmp __P((const void *, const void *, size_t));
|
||||
void bcopy __P((const void *, void *, size_t));
|
||||
void bzero __P((void *, size_t));
|
||||
|
Loading…
Reference in New Issue
Block a user