Changeset 33b5477 in buchla-68k for libcio


Ignore:
Timestamp:
07/14/2017 12:36:45 PM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
298f0b4
Parents:
928d5d9
Message:

Fixed argument order.

Location:
libcio
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • libcio/conin.c

    r928d5d9 r33b5477  
    1111int16_t _CBused;
    1212
    13 int16_t _conin(int8_t *buff, int16_t len)
     13int16_t _conin(io_arg arg, int8_t *buff, int16_t len)
    1414{
    1515        int16_t         nbp;
  • libcio/conin.x

    r928d5d9 r33b5477  
    77#pragma once
    88
     9#include "fspars.h"
    910#include "stdint.h"
    1011
     
    2425*/
    2526
    26 extern  int16_t         _conin(int8_t *buff, int16_t len);
     27extern  int16_t         _conin(io_arg arg, int8_t *buff, int16_t len);
  • libcio/dirfns.c

    r928d5d9 r33b5477  
    7878*/
    7979
    80 int8_t *dtunpk(int16_t din, int16_t tin, int16_t fmt, int8_t *s)
     80int8_t *dtunpk(int16_t din, int16_t tin, int8_t *s, int16_t fmt)
    8181{
    8282        register int16_t        ftm, fdt;
  • libcio/dirfns.x

    r928d5d9 r33b5477  
    1616
    1717extern  int8_t          *atrstr(int16_t atr, int8_t s[]);
    18 extern  int8_t          *dtunpk(int16_t din, int16_t tin, int16_t fmt, int8_t *s);
     18extern  int8_t          *dtunpk(int16_t din, int16_t tin, int8_t *s, int16_t fmt);
    1919extern  int8_t          *mname(int16_t n);
  • libcio/filesys.c

    r928d5d9 r33b5477  
    9090*/
    9191
    92 uint16_t _getfat(uint16_t *bufad, uint16_t nfat, struct bpb *bpp)
     92uint16_t _getfat(uint16_t *bufad, struct bpb *bpp, uint16_t nfat)
    9393{
    9494        uint16_t fatsec;
  • libcio/filesys.x

    r928d5d9 r33b5477  
    4444extern  int16_t         _fmake(struct fcb *fcp);
    4545extern  int16_t         _ftrnc(struct dirent *dp);
    46 extern  uint16_t        _getfat(uint16_t *bufad, uint16_t nfat, struct bpb *bpp);
     46extern  uint16_t        _getfat(uint16_t *bufad, struct bpb *bpp, uint16_t nfat);
    4747extern  uint16_t        _gtcl12(int8_t *fat, uint16_t cl);
    4848extern  int16_t         _inifcb(struct fcb *fcp, int8_t *name, int8_t *ext, int16_t mode);
  • libcio/fsinit.c

    r928d5d9 r33b5477  
    109109*/
    110110
    111 void Init_CB(FILE *fp, int8_t unit, int8_t flags, int32_t *bufad, int16_t bufsize)
     111void Init_CB(FILE *fp, int8_t flags, int8_t unit, int32_t *bufad, int16_t bufsize)
    112112{
    113113        fp->_bp     = (int8_t *)0L;
  • libcio/fsinit.x

    r928d5d9 r33b5477  
    3939extern  void            InitCH(struct channel *cp, int8_t rdi, int8_t wri, int8_t ioi, int8_t ski, chclo cfp, io_arg charg);
    4040extern  void            InitFS(void);
    41 extern  void            Init_CB(FILE *fp, int8_t unit, int8_t flags, int32_t *bufad, int16_t bufsize);
     41extern  void            Init_CB(FILE *fp, int8_t flags, int8_t unit, int32_t *bufad, int16_t bufsize);
    4242extern  int16_t         _badfd(void);
    4343extern  int16_t         _noper(void);
Note: See TracChangeset for help on using the changeset viewer.