Changeset 7ecfb7b in buchla-68k for libcio


Ignore:
Timestamp:
07/14/2017 09:11:47 PM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
aa021e2
Parents:
4810254
Message:

Unused variables and parameters.

Location:
libcio
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • libcio/conin.c

    r4810254 r7ecfb7b  
    1515        int16_t         nbp;
    1616        register int16_t l;
     17
     18        (void)arg;
    1719
    1820        if (_ConBuf[1] EQ 0) {
  • libcio/fseek.c

    r4810254 r7ecfb7b  
    1616int16_t fseek(FILE *fp, int32_t pos, int16_t mode)
    1717{
    18         register int16_t i, lr;
    19         int32_t curpos;
     18        register int16_t lr;
    2019
    2120        if (fp->_flags & _DIRTY) {
  • libcio/fsinit.c

    r4810254 r7ecfb7b  
    4141int16_t _badfio(io_arg arg, int8_t *buff, int16_t len)
    4242{
     43        (void)arg;
     44        (void)buff;
     45        (void)len;
     46
    4347        errno = EBADF;          /* set bad fd code */
    4448        return(FAILURE);        /* return with an error indication */
     
    5357int16_t _badfc(io_arg arg)
    5458{
     59        (void)arg;
     60
    5561        errno = EBADF;          /* set bad fd code */
    5662        return(FAILURE);        /* return with an error indication */
     
    6571int16_t _nopo(int8_t *name, int16_t flag, int16_t mode, struct channel *chp, struct devtabl *dp)
    6672{
     73        (void)name;
     74        (void)flag;
     75        (void)mode;
     76        (void)chp;
     77        (void)dp;
     78
    6779        return(SUCCESS);        /* return with a non-error indication */
    6880}
     
    7688int16_t _nopc(io_arg arg)
    7789{
     90        (void)arg;
     91
    7892        return(SUCCESS);        /* return with a non-error indication */
    7993}
  • libcio/fstubs.c

    r4810254 r7ecfb7b  
    3838int16_t readbuf(int16_t dev, int8_t *buf)
    3939{
     40        (void)dev;
     41        (void)buf;
     42
    4043        xtrap15();
    4144        return(1);
  • libcio/open.c

    r4810254 r7ecfb7b  
    179179        int8_t  tmpname[9], tmpext[4];
    180180
     181        (void)mode;
     182        (void)dp;
     183
    181184        /* search for an available fcb entry */
    182185
  • libcio/rename.c

    r4810254 r7ecfb7b  
    1010int16_t rename(int8_t *old, int8_t *new)
    1111{
    12         int8_t buff[60];
     12        (void)old;
     13        (void)new;
    1314
    1415        return(-1);             /* return an error for now */
Note: See TracChangeset for help on using the changeset viewer.