diff options
author | Dan McGee <dan@archlinux.org> | 2007-04-25 09:15:32 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-04-25 17:07:48 +0200 |
commit | 7760f5fe60253bd9aa674c6a6688d9d07668db2e (patch) | |
tree | b7202c8ddbaf282b24f00a7b26b3395f9b57f6ed /src/pacman/conf.h | |
parent | 828f1f53eff4e47eb0370a0d9195281974859ce5 (diff) | |
download | pacman-7760f5fe60253bd9aa674c6a6688d9d07668db2e.tar.gz pacman-7760f5fe60253bd9aa674c6a6688d9d07668db2e.tar.xz |
Remove more unnecessary stuff
* Remove libintl.h from most files, as we only need to include it once in
util.h where _() is defined.
* Remove other unnecessary header inclusions.
* Remove a macro that was only used once and replaced it with actual code.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/pacman/conf.h')
-rw-r--r-- | src/pacman/conf.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/pacman/conf.h b/src/pacman/conf.h index 05ef0b4c..4fff0abb 100644 --- a/src/pacman/conf.h +++ b/src/pacman/conf.h @@ -56,8 +56,6 @@ typedef struct __config_t { unsigned int ask; } config_t; -#define FREECONF(p) do { if(p) { config_free(p); p = NULL; } } while(0) - config_t *config_new(void); int config_free(config_t *config); |