Changeset 7258c6a in buchla-68k for iolib/printf.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
  • iolib/printf.c

    r0292fbb r7258c6a  
    1717#include "stdarg.h"
    1818
    19 extern  long    dofmt_(int (*putsub)(), char *format, va_list args);
     19extern  int32_t dofmt_(int16_t (*putsub)(), int8_t *format, va_list args);
    2020
    21         static int fpsub(int c);
     21        static int16_t fpsub(int16_t c);
    2222
    2323/*
     
    2727*/
    2828
    29 long printf(char *fmt, ...)
     29int32_t printf(int8_t *fmt, ...)
    3030{
    31         register long count;
     31        register int32_t count;
    3232        va_list aptr;
    3333
     
    4444*/
    4545
    46 static int fpsub(int c)
     46static int16_t fpsub(int16_t c)
    4747{
    4848        /* KLUDGE:  since we aren't Unix(tm) we prepend a CR to LF's */
Note: See TracChangeset for help on using the changeset viewer.