From bb69613e42eef267590a5462174bb4bda44a54f8 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Thu, 18 Jan 2007 20:13:34 +0000 Subject: * remove static neednl - no accessor functions (yet) * remove getcols call in main() --- src/pacman/log.c | 2 +- src/pacman/pacman.c | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'src') diff --git a/src/pacman/log.c b/src/pacman/log.c index a7a493aa..928c8220 100644 --- a/src/pacman/log.c +++ b/src/pacman/log.c @@ -38,7 +38,7 @@ extern config_t *config; -static int neednl = 0; /* for cleaner message output */ +int neednl = 0; /* for cleaner message output */ static int needpad = 0; /* pad blanks to terminal width */ /* simple helper for needpad */ diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c index fa3003e2..5498fab5 100644 --- a/src/pacman/pacman.c +++ b/src/pacman/pacman.c @@ -412,8 +412,6 @@ int main(int argc, char *argv[]) /*setenv("MALLOC_TRACE","pacman.mtrace", 0);*/ mtrace(); #endif - maxcols = getcols(); - /* set signal handlers */ signal(SIGINT, cleanup); signal(SIGTERM, cleanup); -- cgit v1.2.3-70-g09d2