diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2010-02-25 01:35:12 +0000 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2010-02-25 01:35:12 +0000 |
commit | aff118ab39b6e47a808f9cb01bd9c9fffe9bc485 (patch) | |
tree | f916b0660e27046affb0d90e11932f9c6dee11d1 /CRT.c | |
parent | 23fc40976e24b11e28889e0bd10b54210514c4a1 (diff) |
warning fixes
Diffstat (limited to 'CRT.c')
-rw-r--r-- | CRT.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -116,13 +116,15 @@ int CRT_colors[LAST_COLORELEMENT] = { 0 }; char* CRT_termType; -static void CRT_handleSIGSEGV(int signal) { +static void CRT_handleSIGSEGV(int sgn) { + (void) sgn; CRT_done(); fprintf(stderr, "htop " VERSION " aborted. Please report bug at http://htop.sf.net\n"); exit(1); } -static void CRT_handleSIGTERM(int signal) { +static void CRT_handleSIGTERM(int sgn) { + (void) sgn; CRT_done(); exit(0); } |