Browse code

core: fix two more 'no real prototype' warnings, fix one wrong caller in timer mod

Henning Westerholt authored on 29/06/2011 20:30:39
Showing 4 changed files
... ...
@@ -204,7 +204,7 @@ static ticks_t timer_handler(ticks_t ticks, struct timer_ln* tl, void* data) {
204 204
         /* begin critical section */
205 205
 	if (a->disable_itself) {
206 206
 
207
-		timer_allow_del(a->link);
207
+		timer_allow_del();
208 208
 		timer_del(a->link);
209 209
 		timer_reinit(a->link);
210 210
 		a->disable_itself = 0;
... ...
@@ -62,7 +62,7 @@ extern int process_no;
62 62
 
63 63
 extern struct tcp_child* tcp_children;
64 64
 
65
-int init_pt();
65
+int init_pt(int proc_no);
66 66
 int get_max_procs();
67 67
 int register_procs(int no);
68 68
 int get_max_open_fds();
... ...
@@ -815,7 +815,7 @@ return ret;
815 815
  *            context), all other calls will have no effect and will log a
816 816
  *            bug message
817 817
  */
818
-void timer_allow_del()
818
+void timer_allow_del(void)
819 819
 {
820 820
 	if (IS_IN_TIMER() ){
821 821
 			UNSET_RUNNING();
... ...
@@ -186,7 +186,7 @@ int timer_del_safe(struct timer_ln *tl);
186 186
 #define timer_del timer_del_safe
187 187
 #endif
188 188
 
189
-void timer_allow_del();
189
+void timer_allow_del(void);
190 190
 
191 191
 /* old timer compatibility functions & structure */
192 192