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

    r0292fbb r7258c6a  
    1818
    1919extern  void    advicur(void);
    20 extern  void    newvce(short voice);
     20extern  void    newvce(int16_t voice);
    2121
    22 extern  unsigned        *instob;
     22extern  uint16_t        *instob;
    2323
    24 extern  short   stccol, curvce;
     24extern  int16_t stccol, curvce;
    2525
    26 extern  short   idbox[][8];
     26extern  int16_t idbox[][8];
    2727
    28 extern  char    dspbuf[];
     28extern  int8_t  dspbuf[];
    2929
    3030/*
     
    3838*/
    3939
    40 short et_ivce(short n)
     40int16_t et_ivce(int16_t n)
    4141{
    4242        sprintf(ebuf, "%02d", curvce + 1);
     
    5656*/
    5757
    58 short ef_ivce(short n)
     58int16_t ef_ivce(int16_t n)
    5959{
    60         register short i, tmpval;
     60        register int16_t i, tmpval;
    6161
    6262        ebuf[2] = '\0';                 /* terminate the string in ebuf */
     
    8686*/
    8787
    88 short rd_ivce(short n)
     88int16_t rd_ivce(int16_t n)
    8989{
    9090        /* convert to ASCII */
     
    110110*/
    111111
    112 short nd_ivce(short n, short k)
     112int16_t nd_ivce(int16_t n, int16_t k)
    113113{
    114         register short ec;
     114        register int16_t ec;
    115115
    116116        ec = stccol - cfetp->flcol;     /* setup edit buffer column */
Note: See TracChangeset for help on using the changeset viewer.