This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Remove unused include
- From: Andreas Schwab <schwab at suse dot de>
- To: libc-alpha at sourceware dot org
- Date: Tue, 04 Nov 2014 15:45:30 +0100
- Subject: Remove unused include
- Authentication-results: sourceware.org; auth=none
elem_hash hasn't been used in regexp code since 7e2f0d2. Tested on
x86_64-suse-linux and installed as obvious.
Andreas.
* posix/regex_internal.h: Don't include <locale/elem-hash.h>.
diff --git a/posix/regex_internal.h b/posix/regex_internal.h
index d1ed3dc..5c39f05 100644
--- a/posix/regex_internal.h
+++ b/posix/regex_internal.h
@@ -62,7 +62,6 @@
# ifndef _RE_DEFINE_LOCALE_FUNCTIONS
# define _RE_DEFINE_LOCALE_FUNCTIONS 1
# include <locale/localeinfo.h>
-# include <locale/elem-hash.h>
# include <locale/coll-lookup.h>
# endif
#endif
--
2.1.3
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."