diff options
-rw-r--r-- | ChangeLog | 10 | ||||
-rw-r--r-- | conform/data/string.h-data | 11 |
2 files changed, 18 insertions, 3 deletions
@@ -1,3 +1,13 @@ +2012-07-15 Joseph Myers <joseph@codesourcery.com> + + * conform/data/string.h-data (NULL): Use macro-constant. Require + equal to 0. + [ISO || ISO99 || ISO11] (stddef.h): Do not allow header. + (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*. + (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*. + (mem[abcdefghijklmnopqrstuvwxyz]*): Allow. + [ISO || ISO99 || ISO11] (*_t): Do not allow. + 2012-07-13 Andreas Jaeger <aj@suse.de> * po/fr.po: Update from translation team. diff --git a/conform/data/string.h-data b/conform/data/string.h-data index 0403c2e328..365a5377a7 100644 --- a/conform/data/string.h-data +++ b/conform/data/string.h-data @@ -1,4 +1,4 @@ -constant NULL +macro-constant NULL == 0 type size_t #if defined XOPEN2K8 || defined POSIX2008 @@ -61,8 +61,13 @@ function size_t strxfrm (char*, const char*, size_t) function size_t strxfrm_l (char*, const char*, size_t, locale_t) #endif +#if !defined ISO && !defined ISO99 && !defined ISO11 allow-header stddef.h +#endif -allow str* -allow wcs* +allow str[abcdefghijklmnopqrstuvwxyz]* +allow mem[abcdefghijklmnopqrstuvwxyz]* +allow wcs[abcdefghijklmnopqrstuvwxyz]* +#if !defined ISO && !defined ISO99 && !defined ISO11 allow *_t +#endif |