mirror of
https://github.com/moparisthebest/pacman
synced 2025-01-10 21:38:19 -05:00
* remove static neednl - no accessor functions (yet)
* remove getcols call in main()
This commit is contained in:
parent
37b83a7401
commit
bb69613e42
@ -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 */
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user