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

    r0292fbb r7258c6a  
    1919#define CFG_OFF         10      /* display offset into configuration field */
    2020
    21 extern  unsigned        *instob;
     21extern  uint16_t        *instob;
    2222
    23 extern  short   stccol, curvce;
    24 extern  short   idbox[][8];
     23extern  int16_t stccol, curvce;
     24extern  int16_t idbox[][8];
    2525
    26 extern  char    dspbuf[];
     26extern  int8_t  dspbuf[];
    2727
    2828extern  struct  instdef vbufs[];
     
    3838*/
    3939
    40 short et_icnf(short n)
     40int16_t et_icnf(int16_t n)
    4141{
    4242        sprintf(ebuf, "%02d", vbufs[curvce].idhcfg);
     
    5656*/
    5757
    58 short ef_icnf(short n)
     58int16_t ef_icnf(int16_t n)
    5959{
    60         register short i, tmpval;
     60        register int16_t i, tmpval;
    6161
    6262        ebuf[2] = '\0';                 /* terminate the string in ebuf */
     
    8888*/
    8989
    90 short rd_icnf(short n)
     90int16_t rd_icnf(int16_t n)
    9191{
    9292        sprintf(dspbuf, "%02d", vbufs[curvce].idhcfg);  /* convert */
     
    111111*/
    112112
    113 short nd_icnf(short n, short k)
     113int16_t nd_icnf(int16_t n, int16_t k)
    114114{
    115         register short ec, c;
     115        register int16_t ec, c;
    116116
    117117        ec = stccol - cfetp->flcol;     /* setup edit buffer column */
Note: See TracChangeset for help on using the changeset viewer.