summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libddekit/include/ddekit/timer.h1
-rw-r--r--libddekit/timer.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/libddekit/include/ddekit/timer.h b/libddekit/include/ddekit/timer.h
index a57c8fce..bb30e1f9 100644
--- a/libddekit/include/ddekit/timer.h
+++ b/libddekit/include/ddekit/timer.h
@@ -4,6 +4,7 @@
#include "ddekit/thread.h"
#define jiffies fetch_jiffies()
+#define HZ 100
enum
{
diff --git a/libddekit/timer.c b/libddekit/timer.c
index f8bfc7a1..be23ee14 100644
--- a/libddekit/timer.c
+++ b/libddekit/timer.c
@@ -19,7 +19,6 @@ long long root_jiffies;
* So, if someone schedules a timeout to expire in 2 seconds,
* this expires date will be in jiffies + 2 * HZ.
*/
-extern unsigned long HZ;
typedef struct _timer
{