From 45159a70605581a6f929c37aeb7a1a5640133484 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Tue, 21 Sep 2010 14:47:46 +0300 Subject: [PATCH] Rename tagtbl.c -> tagtbl.C - This isn't a regular source file: its not compiled as such but only included from tagname.c. Rename to disambiguate, and make it similar to rpmhash.[CH] --- lib/Makefile.am | 6 +++--- lib/tagname.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/Makefile.am b/lib/Makefile.am index c3fd395..44938a9 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -13,7 +13,7 @@ AM_CPPFLAGS += -DLIBRPMALIAS_FILENAME="\"rpmpopt-${VERSION}\"" check_PROGRAMS = CLEANFILES = -EXTRA_DIST = gentagtbl.sh tagtbl.c rpmhash.C rpmhash.H +EXTRA_DIST = gentagtbl.sh tagtbl.C rpmhash.C rpmhash.H EXTRA_PROGRAMS = usrlibdir = $(libdir) @@ -52,11 +52,11 @@ else librpm_la_LIBADD += @WITH_DB_LIB@ endif -tagtbl.c: Makefile.am $(srcdir)/rpmtag.h gentagtbl.sh +tagtbl.C: Makefile.am $(srcdir)/rpmtag.h gentagtbl.sh @AWK=${AWK} ${SHELL} $(srcdir)/gentagtbl.sh \ $(srcdir)/rpmtag.h > $@.new && \ mv -f $@.new $@ -BUILT_SOURCES = tagtbl.c +BUILT_SOURCES = tagtbl.C if WITH_INTERNAL_DB # XXX watchout, $(top_builddir)/db3/libdb.la created by this Makefile may surprise diff --git a/lib/tagname.c b/lib/tagname.c index e960261..4060402 100644 --- a/lib/tagname.c +++ b/lib/tagname.c @@ -21,7 +21,7 @@ struct headerTagTableEntry_s { int extension; /*!< Extension or "real" tag */ }; -#include "lib/tagtbl.c" +#include "lib/tagtbl.C" static const int rpmTagTableSize = sizeof(rpmTagTable) / sizeof(rpmTagTable[0]) - 1; -- 2.7.4