explicitely declare that functions take no parameters
This commit is contained in:
@@ -60,7 +60,8 @@ static int pageshift;
|
||||
#define pagetok(size) ((size) << pageshift)
|
||||
#define PROCSIZE(pp) ((pp).vm_tsize + (pp).vm_dsize + (pp).vm_ssize)
|
||||
|
||||
int machine_init()
|
||||
|
||||
int machine_init(void)
|
||||
{
|
||||
/* get the page size with "getpagesize" and calculate pageshift from it */
|
||||
int pagesize = getpagesize();
|
||||
@@ -77,7 +78,7 @@ int machine_init()
|
||||
return(TRUE);
|
||||
}
|
||||
|
||||
int machine_close()
|
||||
int machine_close(void)
|
||||
{
|
||||
return(TRUE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user