diff --git a/htop.c b/htop.c index 270395dfa588352e11f76c569d106d9585d7c221..aee72aa5fec4d12eef60799fad51878737176902 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