summaryrefslogtreecommitdiff
path: root/lib/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/misc.c')
-rw-r--r--lib/misc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/misc.c b/lib/misc.c
index ad61d1b0b..cc0832e99 100644
--- a/lib/misc.c
+++ b/lib/misc.c
@@ -7,6 +7,9 @@
/*@unchecked@*/
static int _debug = 0;
+/* just to put a marker in librpm.a */
+const char * RPMVERSION = VERSION;
+
#include "rpmio_internal.h"
#include <rpmurl.h>
#include <rpmmacro.h> /* XXX for rpmGetPath */
@@ -18,9 +21,6 @@ static int _debug = 0;
/*@access Header@*/ /* XXX compared with NULL */
/*@access FD_t@*/ /* XXX compared with NULL */
-/* just to put a marker in librpm.a */
-const char * RPMVERSION = VERSION;
-
char ** splitString(const char * str, int length, char sep)
{
const char * source;