diff options
Diffstat (limited to 'SignalsPanel.h')
-rw-r--r-- | SignalsPanel.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/SignalsPanel.h b/SignalsPanel.h index 0dfe24c9..20fb4a68 100644 --- a/SignalsPanel.h +++ b/SignalsPanel.h @@ -3,18 +3,24 @@ /* htop - SignalsPanel.h (C) 2004-2011 Hisham H. Muhammad -Released under the GNU GPLv2, see the COPYING file +Released under the GNU GPLv2+, see the COPYING file in the source distribution for its full text. */ #include "Panel.h" +#ifndef HTOP_SOLARIS +#include <signal.h> +#endif + typedef struct SignalItem_ { const char* name; int number; } SignalItem; -Panel* SignalsPanel_new(void); +#define SIGNALSPANEL_INITSELECTEDSIGNAL SIGTERM + +Panel* SignalsPanel_new(int preSelectedSignal); #endif |