Add missing prototypes.

This commit is contained in:
Ralf Corsepius
2008-08-16 05:46:28 +00:00
parent 41ba6c4ef3
commit 1b502424df
5 changed files with 10 additions and 10 deletions

View File

@@ -8,7 +8,7 @@
#include <rtems/score/registers.h>
#include "cache_.h"
void _CPU_disable_cache() {
void _CPU_disable_cache(void) {
cr0 regCr0;
regCr0.i = i386_get_cr0();
@@ -22,7 +22,7 @@ void _CPU_disable_cache() {
* Enable the entire cache
*/
void _CPU_enable_cache() {
void _CPU_enable_cache(void) {
cr0 regCr0;
regCr0.i = i386_get_cr0();

View File

@@ -172,7 +172,7 @@ static const char * getmodel(int x86, int model)
return nbuf;
}
void printCpuInfo()
void printCpuInfo(void)
{
int i;
static const char *x86_cap_flags[] = {

View File

@@ -42,7 +42,7 @@ extern uint32_t rtemsFreeMemStart;
/*
* Disable the paging
*/
void _CPU_disable_paging() {
void _CPU_disable_paging(void) {
cr0 regCr0;
rtems_cache_flush_entire_data();
@@ -54,7 +54,7 @@ void _CPU_disable_paging() {
/*
* Enable the paging
*/
void _CPU_enable_paging() {
void _CPU_enable_paging(void) {
cr0 regCr0;
regCr0.i = i386_get_cr0();
@@ -68,7 +68,7 @@ void _CPU_enable_paging() {
* Initialize the paging with 1-to-1 mapping
*/
int init_paging() {
int init_paging(void) {
int memorySize;
int nbPages;