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

    r0292fbb r7258c6a  
    1717#include "scdsp.h"
    1818
    19 extern  unsigned        *obj8;
     19extern  uint16_t        *obj8;
    2020
    21 extern  short   curscor;
    22 extern  short   insmode;
    23 extern  short   stccol;
     21extern  int16_t curscor;
     22extern  int16_t insmode;
     23extern  int16_t stccol;
    2424
    25 extern  char    dspbuf[];
     25extern  int8_t  dspbuf[];
    2626
    2727/*
     
    3131*/
    3232
    33 short et_scor(short n)
     33int16_t et_scor(int16_t n)
    3434{
    3535        sprintf(ebuf, "%02.2d", curscor + 1);
     
    4949*/
    5050
    51 short ef_scor(short n)
     51int16_t ef_scor(int16_t n)
    5252{
    53         register short ival;
     53        register int16_t ival;
    5454
    5555        ebuf[2] = '\0';
     
    7878*/
    7979
    80 short rd_scor(short n)
     80int16_t rd_scor(int16_t n)
    8181{
    8282        sprintf(dspbuf, "%02.2d", curscor + 1);
     
    100100*/
    101101
    102 short nd_scor(short n, short k)
     102int16_t nd_scor(int16_t n, int16_t k)
    103103{
    104         register short ec;
     104        register int16_t ec;
    105105
    106106        ec = stccol - cfetp->flcol;
Note: See TracChangeset for help on using the changeset viewer.