1
0
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:
Nick Briggs 2022-12-11 18:37:52 -08:00
parent b812513696
commit 072a493d56

View File

@ -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));