1
0
mirror of https://github.com/moparisthebest/pacman synced 2025-01-11 05:48:09 -05:00

* remove static neednl - no accessor functions (yet)

* remove getcols call in main()
This commit is contained in:
Aaron Griffin 2007-01-18 20:13:34 +00:00
parent 37b83a7401
commit bb69613e42
2 changed files with 1 additions and 3 deletions

View File

@ -38,7 +38,7 @@
extern config_t *config; 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 */ static int needpad = 0; /* pad blanks to terminal width */
/* simple helper for needpad */ /* simple helper for needpad */

View File

@ -412,8 +412,6 @@ int main(int argc, char *argv[])
/*setenv("MALLOC_TRACE","pacman.mtrace", 0);*/ /*setenv("MALLOC_TRACE","pacman.mtrace", 0);*/
mtrace(); mtrace();
#endif #endif
maxcols = getcols();
/* set signal handlers */ /* set signal handlers */
signal(SIGINT, cleanup); signal(SIGINT, cleanup);
signal(SIGTERM, cleanup); signal(SIGTERM, cleanup);