Changeset 7258c6a in buchla-68k for libcio/fopen.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/fopen.c

    r0292fbb r7258c6a  
    1111#include "stddefs.h"
    1212
    13 extern  long    lseek(int fd, long pos, int how);
     13extern  int32_t lseek(int16_t fd, int32_t pos, int16_t how);
    1414
    15 FILE *_opener(char *name, char *mode, int aflag)
     15FILE *_opener(int8_t *name, int8_t *mode, int16_t aflag)
    1616{
    1717        register FILE *fp;
    18         register int plusopt;
     18        register int16_t plusopt;
    1919
    2020        fp = Cbuffs;
     
    7070*/
    7171
    72 FILE *fopen(char *name, char *mode)
     72FILE *fopen(int8_t *name, int8_t *mode)
    7373{
    7474        return(_opener(name, mode, 0));
    7575}
    7676
    77 FILE *fopena(char *name, char *mode)
     77FILE *fopena(int8_t *name, int8_t *mode)
    7878{
    7979        return(_opener(name, mode, 0));
    8080}
    8181
    82 FILE *fopenb(char *name, char *mode)
     82FILE *fopenb(int8_t *name, int8_t *mode)
    8383{
    8484        return(_opener(name, mode, O_RAW));
Note: See TracChangeset for help on using the changeset viewer.