summary refs log tree commit diff
path: root/conform
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2010-01-10 02:08:32 -0800
committerUlrich Drepper <drepper@redhat.com>2010-01-10 02:08:32 -0800
commit18598ff1051f2cbe545822036a615d9a5dbae5c0 (patch)
tree4f8d8dd4640ba2ae484ed307cb73ae03b9f72a52 /conform
parentb2660fb6245b866f1123a85231b98a0c43b28e6b (diff)
downloadglibc-18598ff1051f2cbe545822036a615d9a5dbae5c0.tar.gz
glibc-18598ff1051f2cbe545822036a615d9a5dbae5c0.tar.xz
glibc-18598ff1051f2cbe545822036a615d9a5dbae5c0.zip
Cleanup strings.h.
Cleanup the strings.h header for XPG7 and update the tests.
Diffstat (limited to 'conform')
-rw-r--r--conform/data/strings.h-data6
1 files changed, 4 insertions, 2 deletions
diff --git a/conform/data/strings.h-data b/conform/data/strings.h-data
index fb4f02c75d..01cd867426 100644
--- a/conform/data/strings.h-data
+++ b/conform/data/strings.h-data
@@ -1,11 +1,13 @@
+#if !defined XOPEN2K8 && !defined POSIX2008
 function int bcmp (const void*, const void*, size_t)
 function void bcopy (const void*, void*, size_t)
 function void bzero (void*, size_t)
+function {char*} index (const char*, int)
+function {char*} rindex (const char*, int)
+#endif
 #if !defined POSIX && !defined POSIX2008
 function int ffs (int)
 #endif
-function {char*} index (const char*, int)
-function {char*} rindex (const char*, int)
 function int strcasecmp (const char*, const char*)
 function int strncasecmp (const char*, const char*, size_t)
 #if defined XOPEN2K8 || defined POSIX2008