From 892bf4eb8637fae5e2da2012f5257d836d7a61d8 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Tue, 21 Sep 2010 13:39:25 +0300 Subject: [PATCH] Move the RPMVERSION constant among its friends in depends.c - Doesn't make any difference, just grouping similar goo in one spot. --- lib/depends.c | 2 ++ lib/misc.c | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/depends.c b/lib/depends.c index 1d04acf0f..d0107658c 100644 --- a/lib/depends.c +++ b/lib/depends.c @@ -19,6 +19,8 @@ #include "debug.h" +const char * const RPMVERSION = VERSION; + const char * const rpmNAME = PACKAGE; const char * const rpmEVR = VERSION; diff --git a/lib/misc.c b/lib/misc.c index 66fed8e4d..1f2033f18 100644 --- a/lib/misc.c +++ b/lib/misc.c @@ -12,9 +12,6 @@ #include "lib/misc.h" #include "debug.h" -/* just to put a marker in librpm.a */ -const char * const RPMVERSION = VERSION; - unsigned int hashFunctionString(const char * string) { /* Jenkins One-at-a-time hash */