summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2018-12-26 14:13:43 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2018-12-27 11:17:06 -0800
commitc0feb731d5bd063f351487c28eadaf37b33d07a5 (patch)
tree7e8a78f51ab1f1b0cb257f518bd93af30c9ccc58 /ChangeLog
parent5289f1f56b7174da6b036d24a7626d9cd658fb01 (diff)
downloadglibc-c0feb731d5bd063f351487c28eadaf37b33d07a5.tar.gz
glibc-c0feb731d5bd063f351487c28eadaf37b33d07a5.tar.xz
glibc-c0feb731d5bd063f351487c28eadaf37b33d07a5.zip
regex: simplify Gnulib port
This simplifies the code, by removing stuff intended for porting
to Gnulib but no longer needed there.
* posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
uses of libc_hidden_def, weak_alias.
* posix/regcomp.c, posix/regexec.c: Use __restrict rather than
_Restrict_ except for public-facing headers.
* posix/regex_internal.h (attribute_hidden) [!_LIBC]:
Remove; already defined elsewhere.
* posix/regex.c, posix/regex_internal.h:
Use __GNUC_PREREQ instead of rolling our own.
* posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog15
1 files changed, 15 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ea72d5e1c7..69676502ed 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,18 @@
+2018-12-27  Paul Eggert  <eggert@cs.ucla.edu>
+
+	regex: simplify Gnulib port
+	This simplifies the code, by removing stuff intended for porting
+	to Gnulib but no longer needed there.
+	* posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
+	uses of libc_hidden_def, weak_alias.
+	* posix/regcomp.c, posix/regexec.c: Use __restrict rather than
+	_Restrict_ except for public-facing headers.
+	* posix/regex_internal.h (attribute_hidden) [!_LIBC]:
+	Remove; already defined elsewhere.
+	* posix/regex.c, posix/regex_internal.h:
+	Use __GNUC_PREREQ instead of rolling our own.
+	* posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
+
 2018-12-27  Wilco Dijkstra  <wdijkstr@arm.com>
 
 	* benchtests/bench-strlen.c (generic_strlen): New function.