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

    r0292fbb r7258c6a  
    1919extern  void    advicur(void);
    2020extern  void    pntsel(void);
    21 extern  void    showpt(short q);
    22 extern  short   timeto(short fn, short pj);
    23 extern  void    setseg(short pn, unsigned ptime);
     21extern  void    showpt(int16_t q);
     22extern  int16_t timeto(int16_t fn, int16_t pj);
     23extern  void    setseg(int16_t pn, uint16_t ptime);
    2424
    25 extern  unsigned        *instob;
     25extern  uint16_t        *instob;
    2626
    27 extern  short   stccol, subj, curvce, curfunc, curpnt;
     27extern  int16_t stccol, subj, curvce, curfunc, curpnt;
    2828
    29 extern  short   idbox[][8];
     29extern  int16_t idbox[][8];
    3030
    31 extern  char    dspbuf[];
     31extern  int8_t  dspbuf[];
    3232
    3333extern  struct  instdef vbufs[];
     
    4545*/
    4646
    47 short et_ipnt(short n)
     47int16_t et_ipnt(int16_t n)
    4848{
    4949        sprintf(ebuf, "%02d", subj);
     
    6363*/
    6464
    65 short ef_ipnt(short n)
     65int16_t ef_ipnt(int16_t n)
    6666{
    67         register short i, tmpval, endpnt, basept;
     67        register int16_t i, tmpval, endpnt, basept;
    6868        register struct idfnhdr *fp;
    6969        register struct instdef *ip;
     
    147147*/
    148148
    149 short rd_ipnt(short n)
     149int16_t rd_ipnt(int16_t n)
    150150{
    151151        sprintf(dspbuf, "%02d", subj);  /* convert to ASCII */
     
    169169*/
    170170
    171 short nd_ipnt(short n, short k)
     171int16_t nd_ipnt(int16_t n, int16_t k)
    172172{
    173         register short ec;
     173        register int16_t ec;
    174174
    175175        ec = stccol - cfetp->flcol;     /* setup edit buffer column */
Note: See TracChangeset for help on using the changeset viewer.