summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-03-07 22:47:52 +0100
committerDan McGee <dan@archlinux.org>2007-03-07 22:47:52 +0100
commit3461786b19159de60aeea74e0fd55b588a01cca2 (patch)
tree4f4ddbf68e9523827466476b093f2479cc240c1e
parentabcb5494bc8dd2ff9df42ee0f80506e8ec9593e7 (diff)
downloadpacman-3461786b19159de60aeea74e0fd55b588a01cca2.tar.gz
pacman-3461786b19159de60aeea74e0fd55b588a01cca2.tar.xz
* Mark a function as static that is only used in deptest.c.
-rw-r--r--src/pacman/deptest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/deptest.c b/src/pacman/deptest.c
index 1d505f3b..abc9ae99 100644
--- a/src/pacman/deptest.c
+++ b/src/pacman/deptest.c
@@ -38,7 +38,7 @@
extern config_t *config;
-int chk_package(const char *pkgname, pmdepend_t *dep)
+static int chk_package(const char *pkgname, pmdepend_t *dep)
{
pmpkg_t *pkg;
pkg = alpm_db_get_pkg(alpm_option_get_localdb(), pkgname);