ksh: Drop support for systems without strcasecmp(3) and strncasecmp(3)
This commit is contained in:
parent
05a5edb66a
commit
00f99741e1
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: config.h,v 1.23 2017/06/22 23:26:17 kamil Exp $ */
|
||||
/* $NetBSD: config.h,v 1.24 2017/06/22 23:27:53 kamil Exp $ */
|
||||
|
||||
/* config.h. Generated automatically by configure. */
|
||||
/* config.h.in. Generated automatically from configure.in by autoheader. */
|
||||
@ -244,9 +244,6 @@
|
||||
/* Define if you have the sigsetjmp function. */
|
||||
#define HAVE_SIGSETJMP 1
|
||||
|
||||
/* Define if you have the strcasecmp function. */
|
||||
#define HAVE_STRCASECMP 1
|
||||
|
||||
/* Define if you have the strerror function. */
|
||||
#define HAVE_STRERROR 1
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
/* $NetBSD: sh.h,v 1.17 2017/06/22 23:26:17 kamil Exp $ */
|
||||
/* $NetBSD: sh.h,v 1.18 2017/06/22 23:27:53 kamil Exp $ */
|
||||
|
||||
/*
|
||||
* Public Domain Bourne/Korn shell
|
||||
*/
|
||||
|
||||
/* $Id: sh.h,v 1.17 2017/06/22 23:26:17 kamil Exp $ */
|
||||
/* $Id: sh.h,v 1.18 2017/06/22 23:27:53 kamil Exp $ */
|
||||
|
||||
#include "config.h" /* system and option configuration info */
|
||||
|
||||
@ -24,11 +24,6 @@
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
|
||||
#ifndef HAVE_STRCASECMP
|
||||
int strcasecmp ARGS((const char *s1, const char *s2));
|
||||
int strncasecmp ARGS((const char *s1, const char *s2, int n));
|
||||
#endif /* HAVE_STRCASECMP */
|
||||
|
||||
#ifdef HAVE_MEMORY_H
|
||||
# include <memory.h>
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user