explicitely declare that functions take no parameters

This commit is contained in:
marschap committed 2007-04-07 17:37:54 +00:00
1 parent aecb207a23
commit e7f504810d
6 files changed
+17 -12

No files matched your search

+3 -2
View File
@@ -61,7 +61,8 @@ static int pageshift;
#define pagetok(size) ((size) << pageshift)
static int swapmode(int *retavail, int *retfree);
int machine_init()
int machine_init(void)
{
/* get the page size with "getpagesize" and calculate pageshift from it */
int pagesize = getpagesize();
@@ -78,7 +79,7 @@ int machine_init()
return(TRUE);
}
int machine_close()
int machine_close(void)
{
return(TRUE);
}