Remove rpmteColorDS() from the API/ABI
authorPanu Matilainen <pmatilai@redhat.com>
Wed, 24 Mar 2010 09:04:31 +0000 (11:04 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Wed, 24 Mar 2010 09:04:31 +0000 (11:04 +0200)
- this gets called on transaction element initialization anyway,
  there's no reason why anybody should need to call it from outside

lib/rpmte.c
lib/rpmte.h

index 0a97955..9c75587 100644 (file)
@@ -62,6 +62,7 @@ struct rpmte_s {
     rpmfs fs;
 };
 
+static void rpmteColorDS(rpmte te, rpmTag tag); /* forward declaration */
 
 void rpmteCleanDS(rpmte te)
 {
@@ -500,7 +501,7 @@ rpmfi rpmteFI(rpmte te)
     return te->fi; /* XXX take fi reference here? */
 }
 
-void rpmteColorDS(rpmte te, rpmTag tag)
+static void rpmteColorDS(rpmte te, rpmTag tag)
 {
     rpmfi fi = rpmteFI(te);
     rpmds ds = rpmteDS(te, tag);
index 1f75c8c..185128f 100644 (file)
@@ -258,13 +258,6 @@ rpmds rpmteDS(rpmte te, rpmTag tag);
  */
 rpmfi rpmteFI(rpmte te);
 
-/** \ingroup rpmte
- * Calculate transaction element dependency colors/refs from file info.
- * @param te           transaction element
- * @param tag          dependency tag (RPMTAG_PROVIDENAME, RPMTAG_REQUIRENAME)
- */
-void rpmteColorDS(rpmte te, rpmTag tag);
-
 #ifdef __cplusplus
 }
 #endif