1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00
elinks/src/viewer/text
Kalle Olavi Niemitalo e287ca9265 1030: Wrap get_search_region_from_search_nodes in #ifdef HAVE_REGEX_H
This change avoids the following error:

gcc -DHAVE_CONFIG_H -I../../.. -I/home/Kalle/src/elinks-0.11/src -I/home/Kalle/prefix/include -I/usr/include/smjs -I/usr/include -I/usr/include/lua50 -I/usr/include -I/usr/include -O0 -ggdb -Wall -Wall -Werror -fno-strict-aliasing -Wno-pointer-sign -Wno-address -fno-strict-overflow -o search.o -c /home/Kalle/src/elinks-0.11/src/viewer/text/search.c
cc1: warnings being treated as errors
/home/Kalle/src/elinks-0.11/src/viewer/text/search.c:257: warning: 'get_search_region_from_search_nodes' defined but not used
make[3]: *** [search.o] Error 1
make[3]: Leaving directory `/home/Kalle/build/i686-pc-linux-gnu/elinks-0.11/src/viewer/text'

get_search_region_from_search_nodes is called only from
search_for_pattern, which already was inside #ifdef HAVE_REGEX_H.
(cherry picked from commit 2aec302d47)
2008-07-14 22:38:08 +03:00
..
draw.c Introduce start_document_refreshes() 2007-09-14 16:44:04 +02:00
draw.h Doxygenate src/viewer/text/ 2007-07-27 14:13:27 +03:00
form.c Doxygenate src/viewer/text/ 2007-07-27 14:13:27 +03:00
form.h Doxygenate src/viewer/text/ 2007-07-27 14:13:27 +03:00
link.c goto_current_link: do nothing on input buttons 2008-07-03 13:48:08 +03:00
link.h Removed not existent function. Spotted by Kalle. 2007-12-16 01:13:53 +02:00
Makefile path_to_top -> top_builddir 2005-10-20 04:00:35 +02:00
marks.c Strings corrections from Malcolm Parsons 2008-01-27 04:19:23 +00:00
marks.h Modularise viewer/text/marks 2006-05-20 15:01:24 +00:00
search.c 1030: Wrap get_search_region_from_search_nodes in #ifdef HAVE_REGEX_H 2008-07-14 22:38:08 +03:00
search.h Remove now useless $Id: lines. 2005-10-21 09:14:07 +02:00
textarea.c Doxygen: document text parameter of format_text{,utf8} 2007-07-27 19:01:07 +03:00
textarea.h Rename CONFIG_UTF_8 to CONFIG_UTF8. 2006-09-17 16:12:47 +03:00
view.c Comments about arithmetic in scrolling. 2007-12-16 01:14:08 +02:00
view.h New action: move-cursor-line-start. 2007-12-16 01:13:39 +02:00
vs.c Doxygenate src/viewer/text/ 2007-07-27 14:13:27 +03:00
vs.h More doc comments about coordinates. 2007-08-29 09:57:18 +03:00