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

    r0292fbb r7258c6a  
    1616
    1717extern  void    advwcur(void);
    18 extern  void    wdswin(short n);
     18extern  void    wdswin(int16_t n);
    1919extern  void    newws(void);
    2020
    21 extern  unsigned        *waveob;
     21extern  uint16_t        *waveob;
    2222
    23 extern  short   stccol, curwpnt;
     23extern  int16_t stccol, curwpnt;
    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_wpnt(short n)
     39int16_t et_wpnt(int16_t n)
    4040{
    4141        sprintf(ebuf, "%03d", curwpnt);
     
    5555*/
    5656
    57 short ef_wpnt(short n)
     57int16_t ef_wpnt(int16_t n)
    5858{
    59         register short i, tmpval;
     59        register int16_t i, tmpval;
    6060
    6161        ebuf[3] = '\0';                 /* terminate the string in ebuf */
     
    8686*/
    8787
    88 short rd_wpnt(short nn)
     88int16_t rd_wpnt(int16_t nn)
    8989{
    90         register short n;
     90        register int16_t n;
    9191
    9292        n = nn & 0xFF;
     
    110110*/
    111111
    112 short nd_wpnt(short nn, short k)
     112int16_t nd_wpnt(int16_t nn, int16_t k)
    113113{
    114         register short ec, n;
     114        register int16_t ec, n;
    115115
    116116        n = nn & 0xFF;
Note: See TracChangeset for help on using the changeset viewer.