[3088] in Athena Bugs

home help back first fref pref prev next nref lref last post

(RT) Kernel: caio/fd.c

daemon@ATHENA.MIT.EDU (John Carr)
Mon Sep 4 19:46:59 1989

To: bugs@ATHENA.MIT.EDU
Date: Mon, 04 Sep 89 19:46:45 EDT
From: John Carr <jfc@ATHENA.MIT.EDU>

The following patch to caio.c (1) fixes a typo in a preprocessor
directive, (2) makes a declaration for fdstrategy() that is required
by ANSI C. 

*** /minos/sys/caio/fd.c	Sun Jan 15 08:40:20 1989
--- fd.c	Sat Aug 26 17:04:46 1989
***************
*** 11,17 ****
  static char *rcsid = "$Header: fd.c,v 11.0 89/01/15 08:41:04 probe Exp $";
  #endif
  #include "fd.h"
! #ifdef NFD > 0
  
  #include "../h/param.h"
  #include "../h/vm.h"
--- 11,17 ----
  static char *rcsid = "$Header: fd.c,v 11.0 89/01/15 08:41:04 probe Exp $";
  #endif
  #include "fd.h"
! #if NFD > 0
  
  #include "../h/param.h"
  #include "../h/vm.h"
***************
*** 56,62 ****
  struct iocc_ctlr *fdminfo[NFDC];
  
  int fdprobe(), fdslave(), fdattach(), fddgo(), fdint(), fdwatch(), 
! 			fdcallint(), fdverify();
  
  /* dma_minphys */
  unsigned (*dma_get_minphys())();
--- 56,62 ----
  struct iocc_ctlr *fdminfo[NFDC];
  
  int fdprobe(), fdslave(), fdattach(), fddgo(), fdint(), fdwatch(), 
! 			fdcallint(), fdverify(),fdstrategy();
  
  /* dma_minphys */
  unsigned (*dma_get_minphys())();


home help back first fref pref prev next nref lref last post