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:
parent
37b83a7401
commit
bb69613e42
@ -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 */
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user