From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from krisdoz.my.domain (schwarze@localhost [127.0.0.1]) by krisdoz.my.domain (8.14.5/8.14.5) with ESMTP id s7B0VD9Q031233 for ; Sun, 10 Aug 2014 20:31:13 -0400 (EDT) Received: (from schwarze@localhost) by krisdoz.my.domain (8.14.5/8.14.3/Submit) id s7B0VDsN018863; Sun, 10 Aug 2014 20:31:13 -0400 (EDT) Date: Sun, 10 Aug 2014 20:31:13 -0400 (EDT) Message-Id: <201408110031.s7B0VDsN018863@krisdoz.my.domain> X-Mailinglist: mdocml-source Reply-To: source@mdocml.bsd.lv MIME-Version: 1.0 From: schwarze@mdocml.bsd.lv To: source@mdocml.bsd.lv Subject: mdocml: Get rid of HAVE_CONFIG_H, it is always defined; idea from X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Log Message: ----------- Get rid of HAVE_CONFIG_H, it is always defined; idea from libnbcompat. Include where needed, it does not belong in config.h. Tags: ---- VERSION_1_12 Modified Files: -------------- mdocml: Makefile apropos.c apropos_db.c mandocdb.c Revision Data ------------- Index: apropos_db.c =================================================================== RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/Attic/apropos_db.c,v retrieving revision 1.32.2.6 retrieving revision 1.32.2.7 diff -Lapropos_db.c -Lapropos_db.c -u -p -r1.32.2.6 -r1.32.2.7 --- apropos_db.c +++ apropos_db.c @@ -15,11 +15,10 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #include +#include #include #include Index: mandocdb.c =================================================================== RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/mandocdb.c,v retrieving revision 1.49.2.16 retrieving revision 1.49.2.17 diff -Lmandocdb.c -Lmandocdb.c -u -p -r1.49.2.16 -r1.49.2.17 --- mandocdb.c +++ mandocdb.c @@ -15,9 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #include Index: apropos.c =================================================================== RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/apropos.c,v retrieving revision 1.27.2.1 retrieving revision 1.27.2.2 diff -Lapropos.c -Lapropos.c -u -p -r1.27.2.1 -r1.27.2.2 --- apropos.c +++ apropos.c @@ -15,10 +15,10 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif + #include +#include #include #include Index: Makefile =================================================================== RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/Makefile,v retrieving revision 1.395.2.26 retrieving revision 1.395.2.27 diff -LMakefile -LMakefile -u -p -r1.395.2.26 -r1.395.2.27 --- Makefile +++ Makefile @@ -34,8 +34,8 @@ VERSION = 1.12.4 # CFLAGS += -DUSE_WCHAR -CFLAGS += -g -DHAVE_CONFIG_H -CFLAGS += -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings +CFLAGS += -g -W -Wall -Wstrict-prototypes +CFLAGS += -Wno-unused-parameter -Wwrite-strings PREFIX = /usr/local BINDIR = $(PREFIX)/bin INCLUDEDIR = $(PREFIX)/include/mandoc -- To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv