mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-14 23:46:14 +00:00
fix warning: a function declaration without a prototype is deprecated in all versions of C
This commit is contained in:
parent
b812513696
commit
072a493d56
@ -292,7 +292,7 @@ void print_finfo(FINFO *fp)
|
||||
* This routine is invoked at very first stage of emulator start up.
|
||||
*/
|
||||
|
||||
int init_finfo() {
|
||||
int init_finfo(void) {
|
||||
FINFO *cp;
|
||||
int n;
|
||||
|
||||
@ -340,7 +340,7 @@ int init_finfo() {
|
||||
* FINFOARRAYRSIZE.
|
||||
*/
|
||||
|
||||
static int get_finfo_id() {
|
||||
static int get_finfo_id(void) {
|
||||
int i;
|
||||
DFINFO *dfap;
|
||||
|
||||
@ -1829,7 +1829,7 @@ static int unix_filecmp(FINFO **f1, FINFO **f2)
|
||||
* used for {DSK} and {UNIX} device respectively as a sort function.
|
||||
*/
|
||||
|
||||
static int file_sort(FINFO **fpp, int n, int (*sortfn)())
|
||||
static int file_sort(FINFO **fpp, int n, int (*sortfn)(void))
|
||||
{
|
||||
FINFO **fp;
|
||||
FINFO **sort_bufp;
|
||||
@ -1974,7 +1974,6 @@ LispPTR COM_gen_files(LispPTR *args)
|
||||
unsigned propp, version;
|
||||
char *cp;
|
||||
FINFO *fp;
|
||||
int dsk_filecmp(), unix_filecmp();
|
||||
|
||||
ERRSETJMP(GetSmallp(-1));
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user