Changeset 8973acd in buchla-68k for libcio/conwr.c


Ignore:
Timestamp:
07/15/2017 03:12:10 PM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
ea232f9
Parents:
7d0d347
Message:

No more warnings in libcio.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcio/conwr.c

    r7d0d347 r8973acd  
    1616   ============================================================================
    1717*/
    18 int16_t _conwr(int16_t kind, int8_t *buff, int16_t len)
     18int16_t _conwr(io_arg arg, void *buff, int16_t len)
    1919{
     20        struct devtabl *dp;
     21        int8_t *buff8;
    2022        register int16_t count;
    2123
     24        dp = (struct devtabl *)arg;
     25        buff8 = buff;
     26
    2227        for (count = 0; count < len; ++count)
    23                 BIOS(B_PUTC, kind, *buff++);
     28                BIOS(B_PUTC, dp->d_kind, *buff8++);
    2429
    2530        return(count);
Note: See TracChangeset for help on using the changeset viewer.