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

    r0292fbb r7258c6a  
    1818#define DIN_OFF         14
    1919
    20 extern  unsigned        *instob;
    21 
    22 extern  short   vtcrow, vtccol, stccol, curinst, curvce, idcfsw, idintmp;
    23 extern  short   editsw, curfunc, submenu;
    24 
    25 extern  short   idbox[][8];
    26 extern  short   instmod[];
    27 extern  short   vce2grp[];
    28 
    29 extern  char    dspbuf[];
     20extern  uint16_t        *instob;
     21
     22extern  int16_t vtcrow, vtccol, stccol, curinst, curvce, idcfsw, idintmp;
     23extern  int16_t editsw, curfunc, submenu;
     24
     25extern  int16_t idbox[][8];
     26extern  int16_t instmod[];
     27extern  int16_t vce2grp[];
     28
     29extern  int8_t  dspbuf[];
    3030
    3131extern  struct  instdef idefs[];
     
    4242*/
    4343
    44 short et_idin(short n)
     44int16_t et_idin(int16_t n)
    4545{
    4646        sprintf(ebuf, "%02d", curinst);
     
    5757*/
    5858
    59 short ef_idin(short n)
    60 {
    61         register short i, tmpval, j;
     59int16_t ef_idin(int16_t n)
     60{
     61        register int16_t i, tmpval, j;
    6262        register struct instdef *ip;
    6363
     
    161161*/
    162162
    163 short rd_idin(short n)
     163int16_t rd_idin(int16_t n)
    164164{
    165165        if (idcfsw)                     /* don't display if copy/fetch is up */
     
    188188*/
    189189
    190 short nd_idin(short n, short k)
    191 {
    192         register short ec, c;
     190int16_t nd_idin(int16_t n, int16_t k)
     191{
     192        register int16_t ec, c;
    193193
    194194        ec = stccol - cfetp->flcol;     /* setup edit buffer column */
Note: See TracChangeset for help on using the changeset viewer.