mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-22 15:58:50 -05:00
Rename pmdepmod_t to alpm_depmod_t
Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
7ce674491b
commit
0a80cf31cf
@ -61,7 +61,7 @@ typedef enum _alpm_pkgreason_t {
|
||||
} alpm_pkgreason_t;
|
||||
|
||||
/** Types of version constraints in dependency specs. */
|
||||
typedef enum _pmdepmod_t {
|
||||
typedef enum _alpm_depmod_t {
|
||||
/** No version constraint */
|
||||
PM_DEP_MOD_ANY = 1,
|
||||
/** Test version equality (package=x.y.z) */
|
||||
@ -74,7 +74,7 @@ typedef enum _pmdepmod_t {
|
||||
PM_DEP_MOD_GT,
|
||||
/** Test for less than some version (package<x.y.z) */
|
||||
PM_DEP_MOD_LT
|
||||
} pmdepmod_t;
|
||||
} alpm_depmod_t;
|
||||
|
||||
/**
|
||||
* File conflict type.
|
||||
@ -110,7 +110,7 @@ typedef struct _pmdepend_t {
|
||||
char *name;
|
||||
char *version;
|
||||
unsigned long name_hash;
|
||||
pmdepmod_t mod;
|
||||
alpm_depmod_t mod;
|
||||
} pmdepend_t;
|
||||
|
||||
/** Missing dependency */
|
||||
|
@ -348,7 +348,7 @@ alpm_list_t SYMEXPORT *alpm_checkdeps(pmhandle_t *handle, alpm_list_t *pkglist,
|
||||
return baddeps;
|
||||
}
|
||||
|
||||
static int dep_vercmp(const char *version1, pmdepmod_t mod,
|
||||
static int dep_vercmp(const char *version1, alpm_depmod_t mod,
|
||||
const char *version2)
|
||||
{
|
||||
int equal = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user