retire PUBLIC, PRIVATE and FORWARD

This commit is contained in:
Ben Gras
2012-03-25 20:25:53 +02:00
parent 6a73e85ad1
commit 7336a67dfe
603 changed files with 5776 additions and 5779 deletions

View File

@@ -20,7 +20,7 @@
/*===========================================================================*
* panic *
*===========================================================================*/
PUBLIC void panic(const char *fmt, ...)
void panic(const char *fmt, ...)
{
va_list arg;
/* The system has run aground of a fatal kernel error. Terminate execution. */
@@ -48,7 +48,7 @@ PUBLIC void panic(const char *fmt, ...)
/*===========================================================================*
* kputc *
*===========================================================================*/
PUBLIC void kputc(c)
void kputc(c)
int c; /* character to append */
{
/* Accumulate a single character for a kernel message. Send a notification
@@ -86,7 +86,7 @@ int c; /* character to append */
return;
}
PUBLIC void cpu_print_freq(unsigned cpu)
void cpu_print_freq(unsigned cpu)
{
u64_t freq;
@@ -94,7 +94,7 @@ PUBLIC void cpu_print_freq(unsigned cpu)
printf("CPU %d freq %lu MHz\n", cpu, div64u(freq, 1000000));
}
PUBLIC int is_fpu(void)
int is_fpu(void)
{
return get_cpulocal_var(fpu_presence);
}