Changeset 7258c6a in buchla-68k for libcio/fsize.c


Ignore:
Timestamp:
07/09/2017 04:45:34 PM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
8618599
Parents:
0292fbb
Message:

Use standard integer types.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcio/fsize.c

    r0292fbb r7258c6a  
    1111#include "stddefs.h"
    1212
    13 extern  unsigned        _gtcl12(char *fat, unsigned cl);
    14 extern  int     _opnvol(void);
    15 extern  int     _filecl(struct fcb *fp);
     13extern  uint16_t        _gtcl12(int8_t *fat, uint16_t cl);
     14extern  int16_t _opnvol(void);
     15extern  int16_t _filecl(struct fcb *fp);
    1616
    17 extern  unsigned _thefat[];
     17extern  uint16_t _thefat[];
    1818
    1919extern  struct  bpb     *_thebpb;
     
    2727*/
    2828
    29 long fsize(FILE *fp, short how)
     29int32_t fsize(FILE *fp, int16_t how)
    3030{
    3131        register struct channel *chp;
     
    7070*/
    7171
    72 short dspace(short which)
     72int16_t dspace(int16_t which)
    7373{
    74         register short maxcl, clcount, nc;
     74        register int16_t maxcl, clcount, nc;
    7575
    7676        if (_opnvol())
Note: See TracChangeset for help on using the changeset viewer.