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

    r0292fbb r7258c6a  
    1212static FILE *Stream;
    1313
    14 extern  long    dofmt_(int (*putsub)(), char *format, va_list args);
    15 extern  int     aputc(int c, FILE *ptr);
     14extern  int32_t dofmt_(int16_t (*putsub)(), int8_t *format, va_list args);
     15extern  int16_t aputc(int16_t c, FILE *ptr);
    1616
    17         static int fpsub(int c);
     17        static int16_t fpsub(int16_t c);
    1818
    19 int fprintf(FILE *stream, char *fmt, ...)
     19int16_t fprintf(FILE *stream, int8_t *fmt, ...)
    2020{
    21         register int count;
     21        register int16_t count;
    2222        va_list aptr;
    2323
     
    2929}
    3030
    31 static int fpsub(int c)
     31static int16_t fpsub(int16_t c)
    3232{
    3333        return(aputc(c, Stream));
Note: See TracChangeset for help on using the changeset viewer.