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

    r0292fbb r7258c6a  
    1515#include "asgdsp.h"
    1616
    17 extern  unsigned        *asgob;
     17extern  uint16_t        *asgob;
    1818
    19 extern  short   stcrow, stccol;
    20 extern  short   curmop;
     19extern  int16_t stcrow, stccol;
     20extern  int16_t curmop;
    2121
    22 extern  short   adbox[][8];
     22extern  int16_t adbox[][8];
    2323
    24 extern  char    dspbuf[];
     24extern  int8_t  dspbuf[];
    2525
    26 extern  char    *gprep[];
     26extern  int8_t  *gprep[];
    2727
    2828/*
     
    3636*/
    3737
    38 short et_aopt(short n)
     38int16_t et_aopt(int16_t n)
    3939{
    4040        sprintf(ebuf, "%01.1d", curmop);
     
    5050*/
    5151
    52 short ef_aopt(short n)
     52int16_t ef_aopt(int16_t n)
    5353{
    54         register short tmpval;
     54        register int16_t tmpval;
    5555
    5656        ebuf[1] = '\0';                 /* terminate the string in ebuf */
     
    7777*/
    7878
    79 short rd_aopt(short nn)
     79int16_t rd_aopt(int16_t nn)
    8080{
    81         register short n;
     81        register int16_t n;
    8282
    8383        n = nn & 0xFF;
     
    9696*/
    9797
    98 short nd_aopt(short nn, short k)
     98int16_t nd_aopt(int16_t nn, int16_t k)
    9999{
    100         register short n;
     100        register int16_t n;
    101101
    102102        if ((k < 1) OR (k > 2))
Note: See TracChangeset for help on using the changeset viewer.