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

    r0292fbb r7258c6a  
    1717extern  void    advwcur(void);
    1818
    19 extern  unsigned        *waveob;
     19extern  uint16_t        *waveob;
    2020
    21 extern  short   stcrow, stccol, curvce;
     21extern  int16_t stcrow, stccol, curvce;
    2222
    23 extern  short   wdbox[][8];
     23extern  int16_t wdbox[][8];
    2424
    25 extern  char    dspbuf[];
     25extern  int8_t  dspbuf[];
    2626
    2727/*
     
    3535*/
    3636
    37 short et_wvce(short n)
     37int16_t et_wvce(int16_t n)
    3838{
    3939        sprintf(ebuf, "%02d", curvce + 1);
     
    4949*/
    5050
    51 short ef_wvce(short n)
     51int16_t ef_wvce(int16_t n)
    5252{
    53         register short i, tmpval;
     53        register int16_t i, tmpval;
    5454
    5555        ebuf[2] = '\0';                 /* terminate the string in ebuf */
     
    7878*/
    7979
    80 short rd_wvce(short nn)
     80int16_t rd_wvce(int16_t nn)
    8181{
    82         register short n;
     82        register int16_t n;
    8383
    8484        n = nn & 0xFF;
     
    9898*/
    9999
    100 short nd_wvce(short nn, short k)
     100int16_t nd_wvce(int16_t nn, int16_t k)
    101101{
    102         register short ec, n;
     102        register int16_t ec, n;
    103103
    104104        n = nn & 0xFF;
Note: See TracChangeset for help on using the changeset viewer.