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

    r0292fbb r7258c6a  
    1919
    2020extern  void    advwcur(void);
    21 extern  void    wdswin(short n);
     21extern  void    wdswin(int16_t n);
    2222extern  void    pntsup(void);
    2323
    24 extern  unsigned        *waveob;
    25 
    26 extern  short   stcrow, stccol, lstwoff, curwoff, curvce, curwslt, curwdth;
    27 
    28 extern  short   wsnmod[12][2];
    29 
    30 extern  short   wdbox[][8];
    31 
    32 extern  char    dspbuf[];
     24extern  uint16_t        *waveob;
     25
     26extern  int16_t stcrow, stccol, lstwoff, curwoff, curvce, curwslt, curwdth;
     27
     28extern  int16_t wsnmod[12][2];
     29
     30extern  int16_t wdbox[][8];
     31
     32extern  int8_t  dspbuf[];
    3333
    3434/*
     
    4242*/
    4343
    44 short et_woff(short n)
    45 {
    46         register short hoff;
    47         register char hosgn;
     44int16_t et_woff(int16_t n)
     45{
     46        register int16_t hoff;
     47        register int8_t hosgn;
    4848
    4949        lstwoff = curwoff;
     
    7676*/
    7777
    78 short ef_woff(short n)
    79 {
    80         register short *ov;
    81         register short i, tmpval;
     78int16_t ef_woff(int16_t n)
     79{
     80        register int16_t *ov;
     81        register int16_t i, tmpval;
    8282
    8383        ebuf[5] = '\0';                 /* terminate the string in ebuf */
     
    118118*/
    119119
    120 short rd_woff(short nn)
    121 {
    122         register short hoff, n;
    123         register char hosgn;
     120int16_t rd_woff(int16_t nn)
     121{
     122        register int16_t hoff, n;
     123        register int8_t hosgn;
    124124
    125125        n = nn & 0xFF;
     
    160160*/
    161161
    162 short nd_woff(short nn, short k)
    163 {
    164         register short ec, n;
     162int16_t nd_woff(int16_t nn, int16_t k)
     163{
     164        register int16_t ec, n;
    165165
    166166        n = nn & 0xFF;
Note: See TracChangeset for help on using the changeset viewer.