From d28b281165ad52dff322d22a546eee9ae002479d Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Tue, 22 Apr 2014 18:19:24 -0300 Subject: Fix compiler complaints. --- htop.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'htop.c') diff --git a/htop.c b/htop.c index 270395df..aee72aa5 100644 --- a/htop.c +++ b/htop.c @@ -36,6 +36,7 @@ in the source distribution for its full text. #include #include #include +#include //#link m @@ -339,7 +340,7 @@ void sortBy(Panel* panel, ProcessList* pl, Settings* settings, int headerHeight, Object_delete(sortPanel); } -static int millisleep(unsigned long millisec) { +static void millisleep(unsigned long millisec) { struct timespec req = { .tv_sec = 0, .tv_nsec = millisec * 1000000L -- cgit v1.2.3