diff options
author | Allan McRae <allan@archlinux.org> | 2011-06-28 05:58:59 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2011-06-28 05:58:59 +0200 |
commit | 1c5c7c907c8cfb26c129d60d919c837ff42ca1c5 (patch) | |
tree | 050849ab5e6246518e3c8e3148e951f2c9b8c440 /lib/libalpm | |
parent | 0a80cf31cfe960b2c62e734aef6e3c662469e917 (diff) | |
download | pacman-1c5c7c907c8cfb26c129d60d919c837ff42ca1c5.tar.gz pacman-1c5c7c907c8cfb26c129d60d919c837ff42ca1c5.tar.xz |
Rename pmfileconflicttype_t to alpm_fileconflicttype_t
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm')
-rw-r--r-- | lib/libalpm/alpm.h | 6 | ||||
-rw-r--r-- | lib/libalpm/conflict.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h index 25f7f6db..8a7979f2 100644 --- a/lib/libalpm/alpm.h +++ b/lib/libalpm/alpm.h @@ -81,10 +81,10 @@ typedef enum _alpm_depmod_t { * Whether the conflict results from a file existing on the filesystem, or with * another target in the transaction. */ -typedef enum _pmfileconflicttype_t { +typedef enum _alpm_fileconflicttype_t { PM_FILECONFLICT_TARGET = 1, PM_FILECONFLICT_FILESYSTEM -} pmfileconflicttype_t; +} alpm_fileconflicttype_t; /** * GPG signature verification options @@ -131,7 +131,7 @@ typedef struct _pmconflict_t { /** File conflict */ typedef struct _pmfileconflict_t { char *target; - pmfileconflicttype_t type; + alpm_fileconflicttype_t type; char *file; char *ctarget; } pmfileconflict_t; diff --git a/lib/libalpm/conflict.c b/lib/libalpm/conflict.c index 94d82dd9..dd3fdf76 100644 --- a/lib/libalpm/conflict.c +++ b/lib/libalpm/conflict.c @@ -281,7 +281,7 @@ static alpm_list_t *filelist_operation(alpm_list_t *filesA, alpm_list_t *filesB, * a wrapper for former functionality that was done inline. */ static alpm_list_t *add_fileconflict(pmhandle_t *handle, - alpm_list_t *conflicts, pmfileconflicttype_t type, const char *filestr, + alpm_list_t *conflicts, alpm_fileconflicttype_t type, const char *filestr, const char *name1, const char *name2) { pmfileconflict_t *conflict; |