mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-31 05:42:25 +00:00
Fix prototype syntax for functions with no parameters in include files
Add some overlooked function prototypes to xxxdefs.h include files Add missing #include of relevant xxxdefs.h in a couple of source files Add prototypes in standalone programs to silence (some) -Wmissing-prototype warnings Remove duplicate prototype from hardrtn.c modified: inc/commondefs.h modified: inc/dirdefs.h modified: inc/dspifdefs.h modified: inc/dspsubrsdefs.h modified: inc/etherdefs.h modified: inc/gcmain3defs.h modified: inc/initdspdefs.h modified: inc/initkbddefs.h modified: inc/keyeventdefs.h modified: inc/maindefs.h modified: inc/osmsgdefs.h modified: inc/testtooldefs.h modified: inc/timerdefs.h modified: inc/unixfork.h modified: inc/uraiddefs.h modified: inc/vmemsavedefs.h modified: inc/xcursordefs.h modified: inc/xlspwindefs.h modified: src/arith2.c modified: src/ether.c modified: src/hardrtn.c modified: src/keytstno.c modified: src/setsout.c modified: src/tstsout.c
This commit is contained in:
@@ -20,6 +20,7 @@ static char *id = "$Id: arith2.c,v 1.4 2001/12/24 01:08:58 sybalsky Exp $ Copyri
|
||||
#include "medleyfp.h"
|
||||
#include "arith.h"
|
||||
|
||||
#include "arith2defs.h"
|
||||
#include "fpdefs.h"
|
||||
#include "mkcelldefs.h"
|
||||
|
||||
|
||||
@@ -67,6 +67,7 @@ static char *id = "$Id: ether.c,v 1.4 2001/12/24 01:09:02 sybalsky Exp $ Copyrig
|
||||
#include "adr68k.h"
|
||||
#include "ether.h"
|
||||
#include "dbprint.h"
|
||||
#include "etherdefs.h"
|
||||
|
||||
#ifdef USE_DLPI
|
||||
#define NIOCSETF PFIOCSETF
|
||||
|
||||
@@ -51,7 +51,6 @@ static FX *make_FXcopy(register FX *fx68k) {
|
||||
int nametbl_on_stk = NIL;
|
||||
register DLword *new68k;
|
||||
register Bframe *retbf68k;
|
||||
extern DLword *freestackblock(DLword n, StackWord * start68k, int align);
|
||||
|
||||
#ifdef FLIPCURSOR
|
||||
flip_cursorbar(5);
|
||||
|
||||
@@ -13,4 +13,7 @@ static char *id = "$Id: keytstno.c,v 1.3 1999/05/31 23:35:36 sybalsky Exp $ Copy
|
||||
|
||||
#include "version.h"
|
||||
|
||||
int keytester(void) { return 0; }
|
||||
int keytester(void);
|
||||
int keytester() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -44,6 +44,7 @@ static char *id = "$Id: setsout.c,v 1.3 1999/05/31 23:35:41 sybalsky Exp $ Copyr
|
||||
extern int errno;
|
||||
|
||||
/* JDS protoize char *valloc(size_t); */
|
||||
void set_sysout(int version, char *sysout_file_name);
|
||||
|
||||
void set_sysout(int version, char *sysout_file_name) {
|
||||
int sysout; /* SysoutFile descriptor */
|
||||
|
||||
@@ -36,6 +36,7 @@ static char *id = "$Id: tstsout.c,v 1.3 1999/05/31 23:35:44 sybalsky Exp $ Copyr
|
||||
extern int errno;
|
||||
|
||||
/* JDS protoize char *valloc(size_t); */
|
||||
void check_sysout(char *sysout_file_name);
|
||||
|
||||
void check_sysout(char *sysout_file_name) {
|
||||
int sysout; /* SysoutFile descriptor */
|
||||
|
||||
Reference in New Issue
Block a user