summaryrefslogtreecommitdiffstats
path: root/CRT.c
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2010-02-25 01:35:12 +0000
committerHisham Muhammad <hisham@gobolinux.org>2010-02-25 01:35:12 +0000
commitaff118ab39b6e47a808f9cb01bd9c9fffe9bc485 (patch)
treef916b0660e27046affb0d90e11932f9c6dee11d1 /CRT.c
parent23fc40976e24b11e28889e0bd10b54210514c4a1 (diff)
warning fixes
Diffstat (limited to 'CRT.c')
-rw-r--r--CRT.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/CRT.c b/CRT.c
index 86771eda..8627ec0c 100644
--- a/CRT.c
+++ b/CRT.c
@@ -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);
}

© 2014-2024 Faster IT GmbH | imprint | privacy policy