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

    r0292fbb r7258c6a  
    1919#include "wsdsp.h"
    2020
    21 extern  short   entbh(short n);
    22 extern  void    wdswin(short n);
    23 
    24 extern  short   curvce, curwdth, cursbox, hitbox, cxval, cyval, hitcx, hitcy;
    25 extern  short   curwave, curwfnl, curwpnt, curwoff, curwhrm, curwhrv, curwslt;
    26 extern  short   wdupdfl, wpntsv, wplast, wvlast, lstwoff, lstwpnt;
    27 
    28 extern  short   offsets[NUMWPCAL];
    29 extern  short   vmtab[NUMHARM];
    30 extern  short   wsbuf[NUMWPCAL];
    31 
    32 extern  long    vknm[NUMHARM][NUMWPCAL];
    33 
    34 extern  short   wdbox[][8];
    35 
    36 extern  short   wsnmod[12][2];
    37 
    38 extern  short   crate1[], crate2[], *cratex, *cratey;
     21extern  int16_t entbh(int16_t n);
     22extern  void    wdswin(int16_t n);
     23
     24extern  int16_t curvce, curwdth, cursbox, hitbox, cxval, cyval, hitcx, hitcy;
     25extern  int16_t curwave, curwfnl, curwpnt, curwoff, curwhrm, curwhrv, curwslt;
     26extern  int16_t wdupdfl, wpntsv, wplast, wvlast, lstwoff, lstwpnt;
     27
     28extern  int16_t offsets[NUMWPCAL];
     29extern  int16_t vmtab[NUMHARM];
     30extern  int16_t wsbuf[NUMWPCAL];
     31
     32extern  int32_t vknm[NUMHARM][NUMWPCAL];
     33
     34extern  int16_t wdbox[][8];
     35
     36extern  int16_t wsnmod[12][2];
     37
     38extern  int16_t crate1[], crate2[], *cratex, *cratey;
    3939
    4040extern  struct  selbox  *csbp, *curboxp;
     
    4646/* forward references */
    4747
    48 short   bx_null(void);
    49 short   wdfnbox(short n);
     48int16_t bx_null(void);
     49int16_t wdfnbox(int16_t n);
    5050
    5151/*
     
    9191void newws(void)
    9292{
    93         register short i;
     93        register int16_t i;
    9494        register struct instdef *ip;
    9595
     
    139139*/
    140140
    141 short wdfnbox(short n)
     141int16_t wdfnbox(int16_t n)
    142142{
    143         register short wval;
    144         register char wsgn;
    145         register short *fpuws;
     143        register int16_t wval;
     144        register int8_t wsgn;
     145        register int16_t *fpuws;
    146146
    147147        switch (n) {    /* switch off of window ID */
Note: See TracChangeset for help on using the changeset viewer.