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

    r0292fbb r7258c6a  
    1717extern  void    advwcur(void);
    1818extern  void    newws(void);
    19 extern  void    wdswin(short n);
     19extern  void    wdswin(int16_t n);
    2020
    21 extern  unsigned        *waveob;
     21extern  uint16_t        *waveob;
    2222
    23 extern  short   stccol, curwhrm;
     23extern  int16_t stccol, curwhrm;
    2424
    25 extern  short   wdbox[][8];
     25extern  int16_t wdbox[][8];
    2626
    27 extern  char    dspbuf[];
     27extern  int8_t  dspbuf[];
    2828
    2929/*
     
    3737*/
    3838
    39 short et_whar(short n)
     39int16_t et_whar(int16_t n)
    4040{
    4141        sprintf(ebuf, "%02d", curwhrm + 1);
     
    5050*/
    5151
    52 short ef_whar(short n)
     52int16_t ef_whar(int16_t n)
    5353{
    54         register short i, tmpval;
     54        register int16_t i, tmpval;
    5555
    5656        ebuf[2] = '\0';                 /* terminate the string in ebuf */
     
    8181*/
    8282
    83 short rd_whar(short nn)
     83int16_t rd_whar(int16_t nn)
    8484{
    85         register short n;
     85        register int16_t n;
    8686
    8787        n = nn & 0xFF;
     
    101101*/
    102102
    103 short nd_whar(short nn, short k)
     103int16_t nd_whar(int16_t nn, int16_t k)
    104104{
    105         register short ec, n;
     105        register int16_t ec, n;
    106106
    107107        n = nn & 0xFF;
Note: See TracChangeset for help on using the changeset viewer.