Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2006-02-17 22:35:26 +0000
committerAurelien Foret <aurelien@archlinux.org>2006-02-17 22:35:26 +0000
commitbe39f49a5461d5804e4391266dfea6dd076691f4 (patch)
tree911a7f550895d9fdda7b4846d6775699549b2bf4 /src
parent5e4c3661c6066623bbfa34bacccfafda5be21315 (diff)
prepend library function names with _alpm (helped with the patch from VMiklos <vmiklos@frugalware.org>)
added log and event callbacks to sync_commit internal transactions
Diffstat (limited to 'src')
-rw-r--r--src/util/convertdb.c2
-rw-r--r--src/util/vercmp.c2
2 files changed, 2 insertions, 2 deletions
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);
}