]> Savannah Git Hosting - gnulib.git/commitdiff
regex: remove unnecessary dependency on localcharset.h
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 31 Dec 2012 03:25:19 +0000 (19:25 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 31 Dec 2012 03:26:28 +0000 (19:26 -0800)
* lib/regex_internal.h [!_LIBC]: Don't include localcharset.h;
hasn't been needed for years.
* modules/regex (Depends-on): Remove localcharset.

ChangeLog
lib/regex_internal.h
modules/regex

index c1ef33d4d73b92dcd209411d8a091e98c791d564..9d1a69ba03ae0c9129f40c21bf12978b6c24afcf 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2012-12-30  Paul Eggert  <eggert@cs.ucla.edu>
 
+       regex: remove unnecessary dependency on localcharset.h
+       * lib/regex_internal.h [!_LIBC]: Don't include localcharset.h;
+       hasn't been needed for years.
+       * modules/regex (Depends-on): Remove localcharset.
+
        regex: revert single-byte change
        * lib/regexec.c (check_node_accept_bytes): Revert previous change
        to this function.  This was alredy fixed in a different way, at
index 0f6d398c28e31624f548b92868bbf402059b2910..b44797a54c7b681ca4bfa7598582a07813e13ded 100644 (file)
@@ -27,9 +27,6 @@
 #include <string.h>
 
 #include <langinfo.h>
-#ifndef _LIBC
-# include "localcharset.h"
-#endif
 #include <locale.h>
 #include <wchar.h>
 #include <wctype.h>
index 279f10a10b833f780337d6a518c63d12f2e84dab..8f5eda0612b0c303f054782f5a9ecd04c0445c2e 100644 (file)
@@ -18,7 +18,6 @@ ssize_t
 alloca-opt      [test $ac_use_included_regex = yes]
 btowc           [test $ac_use_included_regex = yes]
 gettext-h       [test $ac_use_included_regex = yes]
-localcharset    [test $ac_use_included_regex = yes]
 malloc-gnu      [test $ac_use_included_regex = yes]
 memcmp          [test $ac_use_included_regex = yes]
 memmove         [test $ac_use_included_regex = yes]