Refactored shared code between xbps-bin(8) and xbps-repo(8).

- xbps-repo: move protos to defs.h and remove index.h and util.h.
- xbps-bin: move code that belongs to it from xbps-repo to show-info-files.c.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20091124110539-nsdjp0ajr7nn8pa3
This commit is contained in:
Juan RP
2009-11-24 11:05:39 +00:00
parent 164c661bcf
commit 3a65c45de3
11 changed files with 154 additions and 148 deletions

View File

@@ -31,7 +31,7 @@
#include <xbps_api.h>
#include "defs.h"
#include "../xbps-repo/util.h"
#include "../xbps-repo/defs.h"
int
xbps_autoremove_pkgs(void)