summaryrefslogtreecommitdiffstats
path: root/src/pacman/util.h
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2005-03-16 22:21:06 +0100
committerAurelien Foret <aurelien@archlinux.org>2005-03-16 22:21:06 +0100
commitab7ca5dc72d4bd1eb08d210ff911352d23bd1072 (patch)
tree035c22bcfebbf3e00f88368ae02ac0263b058f91 /src/pacman/util.h
parent2ce1105900fcbb1fa2ad176dae74e5f5290af4a4 (diff)
downloadpacman-ab7ca5dc72d4bd1eb08d210ff911352d23bd1072.tar.gz
pacman-ab7ca5dc72d4bd1eb08d210ff911352d23bd1072.tar.xz
- reworked sync_synctree() to make use of alpm_db_update()
- dropped unpack()
Diffstat (limited to 'src/pacman/util.h')
-rw-r--r--src/pacman/util.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/pacman/util.h b/src/pacman/util.h
index 15ce8043..b181dbd1 100644
--- a/src/pacman/util.h
+++ b/src/pacman/util.h
@@ -26,10 +26,8 @@
fprintf(stderr, "malloc failure: could not allocate %d bytes\n", b); \
exit(1); }} else p = NULL; } while(0)
-#define FREE(p) do { if (p) { free(p); (p)= NULL; }} while(0)
+#define FREE(p) do { if (p) { free(p); (p) = NULL; }} while(0)
-long gzopen_frontend(char *pathname, int oflags, int mode);
-int unpack(char *archive, const char *prefix, const char *fn);
int makepath(char *path);
int rmrf(char *path);
void indentprint(char *str, int indent);