From be39f49a5461d5804e4391266dfea6dd076691f4 Mon Sep 17 00:00:00 2001 From: Aurelien Foret Date: Fri, 17 Feb 2006 22:35:26 +0000 Subject: prepend library function names with _alpm (helped with the patch from VMiklos ) added log and event callbacks to sync_commit internal transactions --- src/util/convertdb.c | 2 +- src/util/vercmp.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/util') diff --git a/src/util/convertdb.c b/src/util/convertdb.c index 390fa3e3..4d3f901d 100644 --- a/src/util/convertdb.c +++ b/src/util/convertdb.c @@ -115,7 +115,7 @@ int main(int argc, char* argv[]) /* check for backup designation and frontslashes that shouldn't be there */ if(line[0] == '*') ptr++; if(*ptr == '/') ptr++; - if(line[0] == '*') backup = pm_list_add(backup, strdup(ptr)); + if(line[0] == '*') backup = _alpm_list_add(backup, strdup(ptr)); fprintf(fp, "%s\n", ptr); } diff --git a/src/util/vercmp.c b/src/util/vercmp.c index ebd9d871..70a4b044 100644 --- a/src/util/vercmp.c +++ b/src/util/vercmp.c @@ -39,7 +39,7 @@ int main(int argc, char *argv[]) return(0); } - ret = versioncmp(s1, s2); + ret = _alpm_versioncmp(s1, s2); printf("%d\n", ret); return(ret); } -- cgit v1.2.3-24-g4f1b