diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-10-10 15:59:38 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-10-10 15:59:38 +0300 |
commit | 504e8231cbb379a0b3f41d7bcfb0bd4e3ff16f50 (patch) | |
tree | 81348ea93a665747f5714689079f6dd911af90ab /lib/legacy.c | |
parent | 54f8c5891f92573ebd0ec5f478c6be25b6c4349d (diff) | |
download | rpm-504e8231cbb379a0b3f41d7bcfb0bd4e3ff16f50.tar.gz rpm-504e8231cbb379a0b3f41d7bcfb0bd4e3ff16f50.tar.bz2 rpm-504e8231cbb379a0b3f41d7bcfb0bd4e3ff16f50.zip |
Yank out legacy.h, make the conversion functions static
Diffstat (limited to 'lib/legacy.c')
-rw-r--r-- | lib/legacy.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/lib/legacy.c b/lib/legacy.c index d2d0f5bf0..6d3129ef5 100644 --- a/lib/legacy.c +++ b/lib/legacy.c @@ -10,12 +10,8 @@ #include <rpm/rpmfi.h> #include <rpm/rpmds.h> -#include "lib/legacy.h" - #include "debug.h" -int _noDirTokens = 0; - static int dncmp(const void * a, const void * b) { const char *const * first = a; @@ -23,7 +19,7 @@ static int dncmp(const void * a, const void * b) return strcmp(*first, *second); } -void compressFilelist(Header h) +static void compressFilelist(Header h) { struct rpmtd_s fileNames; char ** dirNames; @@ -113,7 +109,7 @@ exit: xx = headerDel(h, RPMTAG_OLDFILENAMES); } -void expandFilelist(Header h) +static void expandFilelist(Header h) { struct rpmtd_s filenames; @@ -191,7 +187,7 @@ exit: free(pEVR); } -void legacyRetrofit(Header h) +static void legacyRetrofit(Header h) { struct rpmtd_s dprefix; |