Commit aff118ab authored by Hisham Muhammad's avatar Hisham Muhammad
Browse files

warning fixes

parent 23fc4097
...@@ -116,13 +116,15 @@ int CRT_colors[LAST_COLORELEMENT] = { 0 }; ...@@ -116,13 +116,15 @@ int CRT_colors[LAST_COLORELEMENT] = { 0 };
char* CRT_termType; char* CRT_termType;
static void CRT_handleSIGSEGV(int signal) { static void CRT_handleSIGSEGV(int sgn) {
(void) sgn;
CRT_done(); CRT_done();
fprintf(stderr, "htop " VERSION " aborted. Please report bug at http://htop.sf.net\n"); fprintf(stderr, "htop " VERSION " aborted. Please report bug at http://htop.sf.net\n");
exit(1); exit(1);
} }
static void CRT_handleSIGTERM(int signal) { static void CRT_handleSIGTERM(int sgn) {
(void) sgn;
CRT_done(); CRT_done();
exit(0); exit(0);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment