Browse code

*** empty log message ***

Bogdan-Andrei Iancu authored on 27/11/2001 16:50:28
Showing 3 changed files
... ...
@@ -39,7 +39,7 @@ dep: $(depends)
39 39
 
40 40
 .PHONY: clean
41 41
 clean:
42
-	-rm $(objs) $(NAME)
42
+	-rm -f $(objs) $(NAME)
43 43
 
44 44
 .PHONY: proper
45 45
 proper: clean
... ...
@@ -13,9 +13,9 @@
13 13
 #include "../../msg_parser.h"
14 14
 
15 15
 struct s_table;
16
-struct timer;
17 16
 struct entry;
18 17
 struct cell;
18
+struct timer;
19 19
 
20 20
 #include "timer.h"
21 21
 #include "lock.h"
... ...
@@ -31,6 +31,15 @@ struct cell;
31 31
 #define MAX_FORK           20
32 32
 
33 33
 
34
+/* timer list: includes head, tail and protection semaphore */
35
+typedef struct  timer
36
+{
37
+   struct timer_link *first_tl;
38
+   struct timer_link *last_tl;
39
+   ser_lock_t             mutex;
40
+   void                      (*timeout_handler)(void*);
41
+} timer_type;
42
+
34 43
 
35 44
 
36 45
 
... ...
@@ -30,17 +30,7 @@ typedef struct timer_link
30 30
    void                      *payload;
31 31
 }timer_link_type ;
32 32
 
33
-#include "lock.h"
34
-
35
-/* timer list: includes head, tail and protection semaphore */
36
-typedef struct  timer
37
-{
38
-   struct timer_link *first_tl;
39
-   struct timer_link *last_tl;
40
-   ser_lock_t             mutex;
41
-   void                      (*timeout_handler)(void*);
42
-} timer_type;
43
-
33
+#include "h_table.h"
44 34
 
45 35
 
46 36
 void                        add_to_tail_of_timer_list( struct s_table* hash_table , struct timer_link * tl , int list_id, unsigned int time_out );