diff options
author | Guillem Jover <guillem@debian.org> | 2009-05-12 21:58:29 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2009-05-12 21:58:29 +0200 |
commit | c8d3938be127e256fd593f234858fb9d474b2353 (patch) | |
tree | 3d029d1b15b7c3275f382b9224966c6ed0152d6a /lib | |
parent | 9f6671925f3403900bb3a2f74cd4b6683a189052 (diff) | |
download | dpkg-c8d3938be127e256fd593f234858fb9d474b2353.tar.gz |
Remove obsolete priorities support
Diffstat (limited to 'lib')
-rw-r--r-- | lib/dpkg-db.h | 7 | ||||
-rw-r--r-- | lib/parsehelp.c | 6 |
2 files changed, 5 insertions, 8 deletions
diff --git a/lib/dpkg-db.h b/lib/dpkg-db.h index 2d8599568..23faf14ec 100644 --- a/lib/dpkg-db.h +++ b/lib/dpkg-db.h @@ -164,8 +164,11 @@ struct pkginfo { /* pig */ stat_installed } status; enum pkgpriority { - pri_required, pri_important, pri_standard, pri_recommended, - pri_optional, pri_extra, pri_contrib, + pri_required, + pri_important, + pri_standard, + pri_optional, + pri_extra, pri_other, pri_unknown, pri_unset=-1 } priority; const char *otherpriority; diff --git a/lib/parsehelp.c b/lib/parsehelp.c index 55c7ab63c..02ade81c3 100644 --- a/lib/parsehelp.c +++ b/lib/parsehelp.c @@ -92,16 +92,10 @@ const struct namevalue priorityinfos[]= { /* Note ! These must be in order ! * { "required", pri_required, 8 }, { "important", pri_important, 9 }, { "standard", pri_standard, 8 }, - /* XXX: obsolete. */ - { "recommended", pri_recommended, 11 }, { "optional", pri_optional, 8 }, { "extra", pri_extra, 5 }, - /* XXX: keep? */ - { "contrib", pri_contrib, 7 }, { "this is a bug - please report", pri_other, 28 }, { "unknown", pri_unknown, 7 }, - /* XXX: alias, remove. */ - { "base", pri_required, 4 }, { NULL } }; |