Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=00e93b5da647bdc3393544827f8758d2705043d4
commit 00e93b5da647bdc3393544827f8758d2705043d4 Author: Michel Hermier <[email protected]> Date: Tue Jun 3 12:52:44 2014 +0200 libpacman: Make _pacman_depmiss_isin static. diff --git a/lib/libpacman/deps.cpp b/lib/libpacman/deps.cpp index 340af82..5cb4adc 100644 --- a/lib/libpacman/deps.cpp +++ b/lib/libpacman/deps.cpp @@ -75,6 +75,7 @@ __pmdepmissing_t::__pmdepmissing_t(const char *target, unsigned char type, unsig } } +static int _pacman_depmiss_isin(pmdepmissing_t *needle, pmlist_t *haystack) { pmlist_t *i; diff --git a/lib/libpacman/deps.h b/lib/libpacman/deps.h index 9e18f37..62db51d 100644 --- a/lib/libpacman/deps.h +++ b/lib/libpacman/deps.h @@ -49,7 +49,6 @@ typedef struct __pmgraph_t { pmlist_t *childptr; /* points to a child in children list */ } pmgraph_t; -int _pacman_depmiss_isin(pmdepmissing_t *needle, pmlist_t *haystack); pmlist_t *_pacman_depmisslist_add(pmlist_t *misslist, pmdepmissing_t *miss); pmlist_t *_pacman_sortbydeps(pmlist_t *targets, int mode); _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
