Move the RPMVERSION constant among its friends in depends.c
authorPanu Matilainen <pmatilai@redhat.com>
Tue, 21 Sep 2010 10:39:25 +0000 (13:39 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 21 Sep 2010 10:39:25 +0000 (13:39 +0300)
- Doesn't make any difference, just grouping similar goo in one spot.

lib/depends.c
lib/misc.c

index 1d04acf..d010765 100644 (file)
@@ -19,6 +19,8 @@
 
 #include "debug.h"
 
+const char * const RPMVERSION = VERSION;
+
 const char * const rpmNAME = PACKAGE;
 
 const char * const rpmEVR = VERSION;
index 66fed8e..1f2033f 100644 (file)
@@ -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 */