Changeset 0580615 in buchla-68k for libcio/clusmap.c
- Timestamp:
- 07/08/2017 02:42:31 PM (7 years ago)
- Branches:
- master
- Children:
- 342a56f
- Parents:
- 46d8069
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcio/clusmap.c
r46d8069 r0580615 12 12 #include "stddefs.h" 13 13 14 extern int micons(), _gtcl12(); 15 extern long miconl(); 14 extern short micons(short wi); 15 extern unsigned _gtcl12(char *fat, unsigned cl); 16 extern long miconl(long wi); 16 17 17 18 extern struct bpb *_thebpb; 18 19 extern short _thefat[]; 19 20 20 extern int _filecl(), _noper(); 21 extern int _filecl(struct fcb *fp); 22 extern int _noper(void); 21 23 22 24 /* … … 79 81 */ 80 82 81 static int 82 waitcr() 83 static int waitcr(void) 83 84 { 84 85 char c; … … 103 104 */ 104 105 105 int 106 ClusMap(fcp) 107 struct fcb *fcp; 106 int ClusMap(struct fcb *fcp) 108 107 { 109 108 int clus, nc; … … 172 171 */ 173 172 174 struct fcb * 175 FCBmode(fcp) 176 register struct fcb *fcp; 173 struct fcb *FCBmode(struct fcb *fcp) 177 174 { 178 175 register unsigned short mf; … … 217 214 */ 218 215 219 struct fcb * 220 SnapFCB(fcp) 221 register struct fcb *fcp; 216 struct fcb *SnapFCB(struct fcb *fcp) 222 217 { 223 218 printf("\nFCB at 0x%08lx: [%-8.8s].[%-3.3s]\n", … … 257 252 */ 258 253 259 MapFAT(fat, ncl, stops) 260 register char *fat; 261 short ncl, stops; 254 void MapFAT(char *fat, short ncl, short stops) 262 255 { 263 256 register int i; … … 293 286 */ 294 287 295 FILE * 296 FILEfl(fp) 297 FILE *fp; 288 FILE *FILEfl(FILE *fp) 298 289 { 299 290 register unsigned short mf; … … 325 316 */ 326 317 327 FILEpr(fp) 328 FILE *fp; 318 void FILEpr(FILE *fp) 329 319 { 330 320 int (*arg)(), ft; … … 387 377 */ 388 378 389 struct fcb * 390 fd2fcb(fd) 391 short fd; 379 struct fcb *fd2fcb(short fd) 392 380 { 393 381 if ((fd < 0) OR (fd > MAXCHAN)) … … 403 391 */ 404 392 405 struct fcb * 406 fp2fcb(fp) 407 FILE *fp; 393 struct fcb *fp2fcb(FILE *fp) 408 394 { 409 395 if (fp EQ (FILE *)NULL)
Note:
See TracChangeset
for help on using the changeset viewer.