Make _cacheDependsRC static, not needed outside depends.c
authorPanu Matilainen <pmatilai@redhat.com>
Fri, 7 Mar 2008 06:21:55 +0000 (08:21 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Fri, 7 Mar 2008 06:21:55 +0000 (08:21 +0200)
lib/depends.c
lib/rpmts_internal.h

index 1955c89..3eae65e 100644 (file)
@@ -32,7 +32,7 @@ struct orderListIndex_s {
     int orIndex;
 };
 
-int _cacheDependsRC = 1;
+static int _cacheDependsRC = 1;
 
 const char *rpmNAME = PACKAGE;
 
index dee66c6..206edac 100644 (file)
@@ -7,8 +7,6 @@
 #include "rpmdb/rpmhash.h"     /* XXX hashTable */
 #include "lib/rpmtsscore.h"    /* for rpmtsScore */
 
-extern int _cacheDependsRC;
-
 /** \ingroup rpmts
  */
 typedef        struct diskspaceInfo_s * rpmDiskSpaceInfo;