1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-08-13 17:03:46 -04: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;
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 */

View File

@ -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);