diff options
author | Guillem Jover <guillem@debian.org> | 2012-03-30 22:42:00 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2012-03-31 20:38:40 +0200 |
commit | 538f2581689bf17193e23242cfc7bcd151d0993a (patch) | |
tree | 44cef10c87d9fa29d2d229f7920951f789dbe8d2 /src | |
parent | 607a75a63214059dcbc3159c0f9ad19871d81085 (diff) | |
download | dpkg-538f2581689bf17193e23242cfc7bcd151d0993a.tar.gz |
Rename blankversion() to dpkg_version_blank()
Diffstat (limited to 'src')
-rw-r--r-- | src/enquiry.c | 4 | ||||
-rw-r--r-- | src/processarc.c | 4 | ||||
-rw-r--r-- | src/remove.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/enquiry.c b/src/enquiry.c index be84f2075..ffeb4ab67 100644 --- a/src/enquiry.c +++ b/src/enquiry.c @@ -606,7 +606,7 @@ cmpversions(const char *const *argv) dpkg_error_destroy(&err); } } else { - blankversion(&a); + dpkg_version_blank(&a); } if (*argv[2] && strcmp(argv[2],"<unknown>")) { if (parseversion(&b, argv[2], &err) < 0) { @@ -617,7 +617,7 @@ cmpversions(const char *const *argv) dpkg_error_destroy(&err); } } else { - blankversion(&b); + dpkg_version_blank(&b); } if (!informativeversion(&a)) { return informativeversion(&b) ? rip->if_none_a : rip->if_none_both; diff --git a/src/processarc.c b/src/processarc.c index 317846ff2..f0bccc63b 100644 --- a/src/processarc.c +++ b/src/processarc.c @@ -368,7 +368,7 @@ pkg_disappear(struct pkginfo *pkg, struct pkginfo *infavour) pkg_set_want(pkg, want_unknown); pkg_reset_eflags(pkg); - blankversion(&pkg->configversion); + dpkg_version_blank(&pkg->configversion); pkgbin_blank(&pkg->installed); pkg->clientdata->fileslistvalid = false; @@ -1155,7 +1155,7 @@ void process_archive(const char *filename) { if (possi->verrel != dvr_none) newpossi->version= possi->version; else - blankversion(&newpossi->version); + dpkg_version_blank(&newpossi->version); newpossi->cyclebreak = false; *newpossilastp= newpossi; newpossilastp= &newpossi->next; diff --git a/src/remove.c b/src/remove.c index 14e2ddd8a..58f34a50a 100644 --- a/src/remove.c +++ b/src/remove.c @@ -468,7 +468,7 @@ static void removal_bulk_remove_configfiles(struct pkginfo *pkg) { /* We're about to remove the configuration, so remove the note * about which version it was ... */ - blankversion(&pkg->configversion); + dpkg_version_blank(&pkg->configversion); modstatdb_note(pkg); /* Remove from our list any conffiles that aren't ours any more or @@ -603,7 +603,7 @@ void removal_bulk(struct pkginfo *pkg) { debug(dbg_general, "removal_bulk no postrm, no conffiles, purging"); pkg_set_want(pkg, want_purge); - blankversion(&pkg->configversion); + dpkg_version_blank(&pkg->configversion); } else if (pkg->want == want_purge) { removal_bulk_remove_configfiles(pkg); |