From 18598ff1051f2cbe545822036a615d9a5dbae5c0 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 10 Jan 2010 02:08:32 -0800 Subject: Cleanup strings.h. Cleanup the strings.h header for XPG7 and update the tests. --- conform/data/strings.h-data | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'conform') diff --git a/conform/data/strings.h-data b/conform/data/strings.h-data index fb4f02c..01cd867 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 -- cgit v1.1