diff options
author | Dan McGee <dan@archlinux.org> | 2010-11-17 03:12:27 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-12-13 03:32:05 +0100 |
commit | b7015af0fc9325740950223e719f6dec153e264b (patch) | |
tree | 417d7e912a584dd0e4fb930c085f639085ef6fae /lib/libalpm/sync.c | |
parent | ec136784d4328b4c75f622c08273cf9dc6cac40f (diff) | |
download | pacman-b7015af0fc9325740950223e719f6dec153e264b.tar.gz pacman-b7015af0fc9325740950223e719f6dec153e264b.tar.xz |
diskspace style cleanups and small fixes
* Use our normal return() function syntax
* Rework a few things to reduce number of casts
* Fix void function argument declaration
* Add missing gettext _() call
* Remove need for seperate malloc() of statvfs/statfs structure
* Unify argument order of static functions- mountpoints now always
passed first
* Count all files that start with '.' in a package against the DB
* Rename db to db_local in check_diskspace to clarify some code
* Fix some line wrapping to respect 80 characters
Signed-off-by: Dan McGee <dan@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/sync.c')
0 files changed, 0 insertions, 0 deletions