retire _PROTOTYPE

. only good for obsolete K&R support
	. also remove a stray ansi.h and the proto cmd
This commit is contained in:
Ben Gras
2012-03-24 16:16:34 +01:00
parent cf720a028a
commit 6a73e85ad1
475 changed files with 5256 additions and 6252 deletions

View File

@@ -4,19 +4,19 @@
#include "kernel.h"
#include "arch_clock.h"
_PROTOTYPE(int boot_cpu_init_timer, (unsigned freq));
_PROTOTYPE(int app_cpu_init_timer, (unsigned freq));
int boot_cpu_init_timer(unsigned freq);
int app_cpu_init_timer(unsigned freq);
_PROTOTYPE(int timer_int_handler, (void));
int timer_int_handler(void);
_PROTOTYPE(int init_local_timer, (unsigned freq));
int init_local_timer(unsigned freq);
/* sto p the local timer ticking */
_PROTOTYPE(void stop_local_timer, (void));
void stop_local_timer(void);
/* let the time tick again with the original settings after it was stopped */
_PROTOTYPE(void restart_local_timer, (void));
_PROTOTYPE(int register_local_timer_handler, (irq_handler_t handler));
void restart_local_timer(void);
int register_local_timer_handler(irq_handler_t handler);
_PROTOTYPE( u64_t ms_2_cpu_time, (unsigned ms));
_PROTOTYPE( unsigned cpu_time_2_ms, (u64_t cpu_time));
u64_t ms_2_cpu_time(unsigned ms);
unsigned cpu_time_2_ms(u64_t cpu_time);
#endif /* __CLOCK_H__ */