aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorPaul Eggert2018-08-05 18:41:20 -0700
committerPaul Eggert2018-08-05 19:36:09 -0700
commite5652268a993ad9117f7253553c143d60460eb8f (patch)
tree82b54b12fa3c5d41fd5e5345f19613b722709495 /lib-src
parentba8eb994f86206f69cbf9743a67b9d86ef9b1d8f (diff)
downloademacs-e5652268a993ad9117f7253553c143d60460eb8f.tar.gz
emacs-e5652268a993ad9117f7253553c143d60460eb8f.zip
Rename src/regex.c to src/regex-emacs.c.
This is in preparation for using Gnulib regex for etags, to avoid collisions in include directives. * src/regex-emacs.c: Rename from src/regex.c. * src/regex-emacs.h: Rename from src/regex.h. All uses changed. * test/src/regex-emacs-tests.el: Rename from test/src/regex-tests.el.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/Makefile.in6
-rw-r--r--lib-src/etags.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in
index fa37d8ed85d..e70b23c4b3f 100644
--- a/lib-src/Makefile.in
+++ b/lib-src/Makefile.in
@@ -361,13 +361,13 @@ TAGS: etags${EXEEXT} ${tagsfiles}
361../lib/libgnu.a: $(config_h) 361../lib/libgnu.a: $(config_h)
362 $(MAKE) -C ../lib all 362 $(MAKE) -C ../lib all
363 363
364regex.o: $(srcdir)/../src/regex.c $(srcdir)/../src/regex.h $(config_h) 364regex-emacs.o: $(srcdir)/../src/regex-emacs.c $(srcdir)/../src/regex-emacs.h $(config_h)
365 $(AM_V_CC)$(CC) -c $(CPP_CFLAGS) $< 365 $(AM_V_CC)$(CC) -c $(CPP_CFLAGS) $<
366 366
367 367
368etags_deps = ${srcdir}/etags.c regex.o $(NTLIB) $(config_h) 368etags_deps = ${srcdir}/etags.c regex-emacs.o $(NTLIB) $(config_h)
369etags_cflags = -DEMACS_NAME="\"GNU Emacs\"" -DVERSION="\"${version}\"" -o $@ 369etags_cflags = -DEMACS_NAME="\"GNU Emacs\"" -DVERSION="\"${version}\"" -o $@
370etags_libs = regex.o $(NTLIB) $(LOADLIBES) 370etags_libs = regex-emacs.o $(NTLIB) $(LOADLIBES)
371 371
372etags${EXEEXT}: ${etags_deps} 372etags${EXEEXT}: ${etags_deps}
373 $(AM_V_CCLD)$(CC) ${ALL_CFLAGS} $(etags_cflags) $< $(etags_libs) 373 $(AM_V_CCLD)$(CC) ${ALL_CFLAGS} $(etags_cflags) $< $(etags_libs)
diff --git a/lib-src/etags.c b/lib-src/etags.c
index b3b4575e0a6..47d13116db6 100644
--- a/lib-src/etags.c
+++ b/lib-src/etags.c
@@ -135,7 +135,7 @@ char pot_etags_version[] = "@(#) pot revision number is 17.38.1.4";
135#endif 135#endif
136 136
137#include <getopt.h> 137#include <getopt.h>
138#include <regex.h> 138#include <regex-emacs.h>
139 139
140/* Define CTAGS to make the program "ctags" compatible with the usual one. 140/* Define CTAGS to make the program "ctags" compatible with the usual one.
141 Leave it undefined to make the program "etags", which makes emacs-style 141 Leave it undefined to make the program "etags", which makes emacs-style