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

    r0292fbb r7258c6a  
    99#include "stddefs.h"
    1010
    11 static int scnlast;
     11static int16_t scnlast;
    1212static FILE *scnfp;
    1313
    14 static int gchar(int what)
     14static int16_t gchar(int16_t what)
    1515{
    1616        if (what EQ 0) {
     
    2626}
    2727
    28 int scanf(char *fmt, int *args)
     28int16_t scanf(int8_t *fmt, int16_t *args)
    2929{
    3030        scnfp = stdin;
     
    3333}
    3434
    35 int fscanf(FILE *fp, char *fmt, int *args)
     35int16_t fscanf(FILE *fp, int8_t *fmt, int16_t *args)
    3636{
    3737        scnfp = fp;
Note: See TracChangeset for help on using the changeset viewer.