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

    r0292fbb r7258c6a  
    2121#endif
    2222
    23 extern  unsigned        *asgob;
     23extern  uint16_t        *asgob;
    2424
    25 extern  short   stcrow, stccol;
    26 extern  short   prgchan;
     25extern  int16_t stcrow, stccol;
     26extern  int16_t prgchan;
    2727
    28 extern  short   adbox[][8];
     28extern  int16_t adbox[][8];
    2929
    30 extern  char    dspbuf[];
     30extern  int8_t  dspbuf[];
    3131
    3232/*
     
    4040*/
    4141
    42 short et_aprg(short n)
     42int16_t et_aprg(int16_t n)
    4343{
    4444        sprintf(ebuf, "%02d", prgchan);
     
    5454*/
    5555
    56 short ef_aprg(short n)
     56int16_t ef_aprg(int16_t n)
    5757{
    58         register short i, tmpval;
     58        register int16_t i, tmpval;
    5959
    6060        ebuf[2] = '\0';                 /* terminate the string in ebuf */
     
    8888*/
    8989
    90 short rd_aprg(short nn)
     90int16_t rd_aprg(int16_t nn)
    9191{
    92         register short n;
     92        register int16_t n;
    9393
    9494        n = nn & 0xFF;
     
    108108*/
    109109
    110 short nd_aprg(short nn, short k)
     110int16_t nd_aprg(int16_t nn, int16_t k)
    111111{
    112         register short ec, n;
     112        register int16_t ec, n;
    113113
    114114        n = nn & 0xFF;
Note: See TracChangeset for help on using the changeset viewer.