Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/package.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/package.h')
-rw-r--r--lib/libalpm/package.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/libalpm/package.h b/lib/libalpm/package.h
index 155a2f6c..c22cfe59 100644
--- a/lib/libalpm/package.h
+++ b/lib/libalpm/package.h
@@ -70,7 +70,7 @@ typedef struct __pmpkg_t {
#define FREEPKG(p) \
do { \
if(p) { \
- pkg_free(p); \
+ _alpm_pkg_free(p); \
p = NULL; \
} \
} while(0)
@@ -86,12 +86,12 @@ do { \
} \
} while(0)
-pmpkg_t* pkg_new(const char *name, const char *version);
-pmpkg_t *pkg_dup(pmpkg_t *pkg);
-void pkg_free(pmpkg_t *pkg);
-pmpkg_t *pkg_load(char *pkgfile);
-pmpkg_t *pkg_isin(char *needle, PMList *haystack);
-int pkg_splitname(char *target, char *name, char *version);
+pmpkg_t* _alpm_pkg_new(const char *name, const char *version);
+pmpkg_t *_alpm_pkg_dup(pmpkg_t *pkg);
+void _alpm_pkg_free(pmpkg_t *pkg);
+pmpkg_t *_alpm_pkg_load(char *pkgfile);
+pmpkg_t *_alpm_pkg_isin(char *needle, PMList *haystack);
+int _alpm_pkg_splitname(char *target, char *name, char *version);
#endif /* _ALPM_PACKAGE_H */