summaryrefslogtreecommitdiffstats
path: root/src/pacman/add.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-04-26 02:02:07 +0200
committerDan McGee <dan@archlinux.org>2007-04-26 20:34:41 +0200
commitdc05cd107cd158e3d8ee9256205aec20615a674f (patch)
treefec60599b46af26d51c0b08acd6afed2c0c0fc03 /src/pacman/add.c
parent97313ba31645796148c3f413d9ebde365df06dbe (diff)
downloadpacman-dc05cd107cd158e3d8ee9256205aec20615a674f.tar.gz
pacman-dc05cd107cd158e3d8ee9256205aec20615a674f.tar.xz
Pacman side code consolidation- unify callback functions to one file
Some more major code reorginization here. The download progress callback function has been renamed and moved to callback.c, which is the former trans.c with the download and log callbacks added. In addition, this allows util.c to be cleaned up as fill_progress can now be static in callback.c. We've also cut two more source files out. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/pacman/add.c')
-rw-r--r--src/pacman/add.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/add.c b/src/pacman/add.c
index 7a8f7809..3d0622cc 100644
--- a/src/pacman/add.c
+++ b/src/pacman/add.c
@@ -31,7 +31,7 @@
/* pacman */
#include "pacman.h"
#include "log.h"
-#include "trans.h"
+#include "callback.h"
#include "conf.h"
#include "util.h"