[pacman-dev] CVS update of pacman-lib/src/pacman (deptest.c)

Dan McGee dan at archlinux.org
Wed Mar 7 16:47:52 EST 2007


    Date: Wednesday, March 7, 2007 @ 16:47:52
  Author: dan
    Path: /home/cvs-pacman/pacman-lib/src/pacman

Modified: deptest.c (1.17 -> 1.18)

* Mark a function as static that is only used in deptest.c.


-----------+
 deptest.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


Index: pacman-lib/src/pacman/deptest.c
diff -u pacman-lib/src/pacman/deptest.c:1.17 pacman-lib/src/pacman/deptest.c:1.18
--- pacman-lib/src/pacman/deptest.c:1.17	Wed Mar  7 02:45:31 2007
+++ pacman-lib/src/pacman/deptest.c	Wed Mar  7 16:47:52 2007
@@ -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);




More information about the pacman-dev mailing list