mirror of
https://github.com/Interlisp/maiko.git
synced 2026-05-03 14:59:26 +00:00
Replace all K&R style function definitions with new-style function definitions.
Add some missing default function result types (int). Add some missing void result types where appropriate. modified: src/Cldeetr.c modified: src/atom.c modified: src/bbtsub.c modified: src/bitblt.c modified: src/byteswap.c modified: src/chardev.c modified: src/chatter.c modified: src/colorbltfns.c modified: src/common.c modified: src/dir.c modified: src/dlpi.c modified: src/doskbd.c modified: src/dosmouse.c modified: src/draw.c modified: src/dsk.c modified: src/dspsubrs.c modified: src/ejlisp.c modified: src/ether.c modified: src/imagefile.c modified: src/imagefile2.c modified: src/inet.c modified: src/initdsp.c modified: src/initkbd.c modified: src/kbdsubrs.c modified: src/ldeboot.c modified: src/llcolor.c modified: src/llstk.c modified: src/loader.c modified: src/loopsops.c modified: src/lpdual.c modified: src/lpmain.c modified: src/lpread.c modified: src/lptran.c modified: src/lpwrite.c modified: src/main.c modified: src/misc7.c modified: src/mkatom.c modified: src/mnwevent.c modified: src/mnxmeth.c modified: src/mouseif.c modified: src/ocr.c modified: src/ocrproc.c modified: src/oether.c modified: src/oldeether.c modified: src/osmsg.c modified: src/picture.c modified: src/rawcolor.c modified: src/rawrs232c.c modified: src/rpc.c modified: src/rs232c.c modified: src/socdvr.c modified: src/socket.c modified: src/testdsp.c modified: src/testtool.c modified: src/timeoday.c modified: src/timeofday.c modified: src/timer.c modified: src/truecolor.c modified: src/tty.c modified: src/ufn.c modified: src/ufs.c modified: src/unixcomm.c modified: src/unixfork.c modified: src/unwind.c modified: src/uraid.c modified: src/vesainit.c modified: src/vgainit.c modified: src/vmemsave.c modified: src/xcursor.c modified: src/xinit.c modified: src/xlspwin.c modified: src/xmkicon.c modified: src/xrdopt.c modified: src/xwinman.c
This commit is contained in:
@@ -83,7 +83,7 @@ extern int Dummy_errno;
|
||||
/* */
|
||||
/************************************************************************/
|
||||
|
||||
LispPTR CHAR_openfile(args) register LispPTR *args;
|
||||
LispPTR CHAR_openfile(LispPTR *args)
|
||||
/* args[0] fullname */
|
||||
/* args[1] access */
|
||||
/* args[2] errno */
|
||||
@@ -155,7 +155,7 @@ LispPTR CHAR_openfile(args) register LispPTR *args;
|
||||
/* */
|
||||
/************************************************************************/
|
||||
|
||||
LispPTR CHAR_closefile(args) register LispPTR *args;
|
||||
LispPTR CHAR_closefile(LispPTR *args)
|
||||
/* args[0] id */
|
||||
/* args[1] errno */
|
||||
{
|
||||
@@ -202,7 +202,7 @@ LispPTR CHAR_closefile(args) register LispPTR *args;
|
||||
/* */
|
||||
/************************************************************************/
|
||||
|
||||
LispPTR CHAR_ioctl(args) LispPTR *args;
|
||||
LispPTR CHAR_ioctl(LispPTR *args)
|
||||
{
|
||||
#ifndef DOS
|
||||
int id, request, data;
|
||||
@@ -235,8 +235,7 @@ LispPTR CHAR_ioctl(args) LispPTR *args;
|
||||
/* */
|
||||
/************************************************************************/
|
||||
|
||||
LispPTR CHAR_bin(id, errn) register int id;
|
||||
register LispPTR errn;
|
||||
LispPTR CHAR_bin(int id, LispPTR errn)
|
||||
{
|
||||
#ifndef DOS
|
||||
register int rval, size;
|
||||
@@ -268,8 +267,7 @@ register LispPTR errn;
|
||||
/* */
|
||||
/************************************************************************/
|
||||
|
||||
LispPTR CHAR_bout(id, ch, errn) register int id;
|
||||
register LispPTR ch, errn;
|
||||
LispPTR CHAR_bout(int id, LispPTR ch, LispPTR errn)
|
||||
{
|
||||
#ifndef DOS
|
||||
register int rval;
|
||||
@@ -315,7 +313,7 @@ register LispPTR ch, errn;
|
||||
/* */
|
||||
/************************************************************************/
|
||||
|
||||
LispPTR CHAR_bins(args) register LispPTR *args;
|
||||
LispPTR CHAR_bins(LispPTR *args)
|
||||
{
|
||||
#ifndef DOS
|
||||
register int id, rval;
|
||||
@@ -366,7 +364,7 @@ LispPTR CHAR_bins(args) register LispPTR *args;
|
||||
/* */
|
||||
/************************************************************************/
|
||||
|
||||
LispPTR CHAR_bouts(args) register LispPTR *args;
|
||||
LispPTR CHAR_bouts(LispPTR *args)
|
||||
{
|
||||
#ifndef DOS
|
||||
register int id, rval;
|
||||
|
||||
Reference in New Issue
Block a user