- Timestamp:
- 07/08/2017 02:42:31 PM (7 years ago)
- Branches:
- master
- Children:
- 342a56f
- Parents:
- 46d8069
- Location:
- iolib
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
iolib/dofmt.c
r46d8069 r0580615 38 38 39 39 #if CRUFTY 40 extern long uldiv( );40 extern long uldiv(long divid, long divis); 41 41 extern long uldivr; 42 42 #endif 43 43 44 long 45 dofmt_(putsub, format, args) 46 register int (*putsub)(); 47 register char *format; 48 va_list args; 44 long dofmt_(int (*putsub)(), char *format, va_list args) 49 45 { 50 46 register int fcode; -
iolib/mdump.c
r46d8069 r0580615 39 39 */ 40 40 41 static 42 pipc(chars, length) 43 char chars[]; 44 int length; 41 static void pipc(char chars[], int length) 45 42 { 46 43 int i; … … 63 60 */ 64 61 65 mdump(begin, end, start) 66 char *begin, *end; 67 long start; 62 void mdump(char *begin, char *end, long start) 68 63 { 69 64 long i, ii; -
iolib/pause.c
r46d8069 r0580615 8 8 #include "biosdefs.h" 9 9 10 extern int waitcr(), writeln(); 10 extern int waitcr(void); 11 extern void writeln(int unit, char *buf); 11 12 12 pause(s) 13 char *s; 13 void pause(char *s) 14 14 { 15 15 writeln(CON_DEV, s); -
iolib/printf.c
r46d8069 r0580615 17 17 #include "stdarg.h" 18 18 19 extern long dofmt_( );19 extern long dofmt_(int (*putsub)(), char *format, va_list args); 20 20 21 static int fpsub();21 static int fpsub(int c); 22 22 23 23 /* … … 44 44 */ 45 45 46 static 47 int 48 fpsub(c) 49 int c; 46 static int fpsub(int c) 50 47 { 51 48 /* KLUDGE: since we aren't Unix(tm) we prepend a CR to LF's */ -
iolib/rawio.c
r46d8069 r0580615 69 69 70 70 71 int 72 readln(unit,nc,ctl,nb,buf) 73 int unit; 74 int nc; 75 char *ctl; 76 int nb; 77 char *buf; 71 int readln(int unit, int nc, char *ctl, int nb, char *buf) 78 72 { 79 73 register char *cp; … … 110 104 */ 111 105 112 int 113 getln(unit,nb,buf) 114 int unit; 115 int nb; 116 char *buf; 106 int getln(int unit, int nb, char *buf) 117 107 { 118 108 register char *bp; … … 179 169 */ 180 170 181 int 182 getrln(unit,nb,buf) 183 int unit; 184 int nb; 185 char *buf; 171 int getrln(int unit, int nb, char *buf) 186 172 { 187 173 register char *bp; … … 226 212 */ 227 213 228 writeln(unit,buf) 229 int unit; 230 char *buf; 214 void writeln(int unit, char *buf) 231 215 { 232 216 register char *bp; -
iolib/sprintf.c
r46d8069 r0580615 8 8 #include "stdarg.h" 9 9 10 extern long dofmt_();10 extern long dofmt_(int (*putsub)(), char *format, va_list args); 11 11 12 12 static char *buff; 13 static int spsub();13 static int spsub(char c); 14 14 15 15 /* … … 38 38 */ 39 39 40 static 41 int 42 spsub(c) 43 char c; 40 static int spsub(char c) 44 41 { 45 42 return((*buff++ = c) & 0xFF); -
iolib/waitcr.c
r46d8069 r0580615 9 9 #include "stddefs.h" 10 10 11 extern int xtrap15(); /* the ROMP trap */11 extern void xtrap15(void); 12 12 13 13 /* … … 21 21 */ 22 22 23 int 24 waitcr() 23 int waitcr(void) 25 24 { 26 25 int c;
Note:
See TracChangeset
for help on using the changeset viewer.