Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2016-10-22 22:08:44 +0300
committerCorinna Vinschen <corinna@vinschen.de>2016-10-22 22:08:44 +0300
commit8c6e4fec142b486531d2ac8da75250fa00a14e31 (patch)
treece51ec2b5c0f630f0c35320dbf61a45a7c5cd781 /newlib/libc/ctype
parent5005be3daf756a6a6dd4043ac9352e1c4b4af202 (diff)
Actually return value from __cp_index
Fixes Coverty CID 153470 Also drop redundant declaration of __cp_index. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'newlib/libc/ctype')
-rw-r--r--newlib/libc/ctype/ctype_cp.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/newlib/libc/ctype/ctype_cp.h b/newlib/libc/ctype/ctype_cp.h
index 7ce0ab33d..004c1e2e8 100644
--- a/newlib/libc/ctype/ctype_cp.h
+++ b/newlib/libc/ctype/ctype_cp.h
@@ -470,9 +470,6 @@
_L, _L, _L, _L, _L, _L, _L
#define _CTYPE_PT154_255 _L
-
-extern int __cp_index (const char *charset_ext);
-
#if defined(ALLOW_NEGATIVE_CTYPE_INDEX)
#ifndef __CYGWIN__