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

    r0292fbb r7258c6a  
    2929*/
    3030
    31 unsigned short setwq(struct wordq *qp, unsigned short *qadr, unsigned short qsiz, unsigned short hi, unsigned short lo)
     31uint16_t setwq(struct wordq *qp, uint16_t *qadr, uint16_t qsiz, uint16_t hi, uint16_t lo)
    3232{
    33         if ((unsigned short *)0L EQ qadr)
     33        if ((uint16_t *)0L EQ qadr)
    3434                qsiz = 0;
    3535
     
    6767*/
    6868
    69 short putwq(struct wordq *qp, unsigned short c)
     69int16_t putwq(struct wordq *qp, uint16_t c)
    7070{
    7171        if (0 NE qp->qsize) {                           /* verify queue is ok */
     
    112112*/
    113113
    114 short getwq(struct wordq *qp, unsigned short *p)
     114int16_t getwq(struct wordq *qp, uint16_t *p)
    115115{
    116116        if (0 NE qp->qsize) {                           /* check queue is ok */
Note: See TracChangeset for help on using the changeset viewer.