diff options
author | Aaron Griffin <aaronmgriffin@gmail.com> | 2007-09-27 23:03:35 -0500 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2007-09-28 00:25:57 -0500 |
commit | 4942d216323cbe2f099c43893cc95368a3cd1197 (patch) | |
tree | ec99167060320472eb637a0ae99f7c3872bc6435 /src/pacman/util.h | |
parent | 50bb16e0151e31479cb2602c9749ffe18f7a3592 (diff) |
Break out transaction test to a separate function
Added needs_transaction, putting out "hey do we need root?" tests in one place.
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'src/pacman/util.h')
-rw-r--r-- | src/pacman/util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pacman/util.h b/src/pacman/util.h index 62812441..73347fe8 100644 --- a/src/pacman/util.h +++ b/src/pacman/util.h @@ -38,6 +38,7 @@ #define _(str) str #endif +int needs_transaction(); int getcols(); int makepath(const char *path); int rmrf(const char *path); |