From 12dfcd71604eb49ce45d5678ea2a26d77c4a9e67 Mon Sep 17 00:00:00 2001 From: Alberto Massari <amassari@apache.org> Date: Mon, 28 Aug 2006 13:40:09 +0000 Subject: [PATCH] Replacement function for iswspace is no more needed git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@437704 13f79535-47bb-0310-9956-ffa450edef68 --- configure.ac | 4 ++-- lib/iswspace.c | 26 -------------------------- lib/iswspace.h | 34 ---------------------------------- 3 files changed, 2 insertions(+), 62 deletions(-) delete mode 100644 lib/iswspace.c delete mode 100644 lib/iswspace.h diff --git a/configure.ac b/configure.ac index b0d5046d8..c21760f9a 100644 --- a/configure.ac +++ b/configure.ac @@ -94,7 +94,7 @@ AC_CHECK_FUNCS([clock_gettime ftime getcwd gethostbyaddr gethostbyname gettimeof mblen memmove memset nl_langinfo pathconf realpath setlocale socket \ strcasecmp strncasecmp stricmp strnicmp strchr strdup \ strrchr strstr strtol strtoul \ - towupper towlower iswspace \ + towupper towlower \ mbrlen wcsrtombs mbsrtowcs \ ]) @@ -103,7 +103,7 @@ AC_SUBST([SHREXT], [$shrext_cmds]) # # Orchestrate the replacement of missing functions # -AC_REPLACE_FUNCS([stricmp strnicmp iswspace towlower towupper]) +AC_REPLACE_FUNCS([stricmp strnicmp towlower towupper]) ###################################################### diff --git a/lib/iswspace.c b/lib/iswspace.c deleted file mode 100644 index 0735b95a4..000000000 --- a/lib/iswspace.c +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Copyright 2005 The Apache Software Foundation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * $Id$ - */ - -#include "iswspace.h" - -int iswspace(int wc) -{ - return wc == ' '; -} diff --git a/lib/iswspace.h b/lib/iswspace.h deleted file mode 100644 index a4d76e05b..000000000 --- a/lib/iswspace.h +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright 2005 The Apache Software Foundation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * $Id$ - */ - -#ifndef ISWSPACE_H -#define ISWSPACE_H - -#ifdef __cplusplus -extern "C" { -#endif - -extern int iswspace(int wc); - -#ifdef __cplusplus -} -#endif - -#endif -- GitLab