Diff for /src/sys/emulation/posix4/Attic/posix4.h between versions 1.4 and 1.5

version 1.4, 2003/08/27 06:30:04 version 1.5, 2003/11/27 19:11:17
Line 42 Line 42
 #include <sys/malloc.h>  #include <sys/malloc.h>
 #include "sched.h"  #include "sched.h"
   
 /* Generate syscall stubs for when something is optionally  
  * loadable as a module.  References "syscall_not_present".   
  * XXX Good candidate for sys/syscall.h  
  */  
 struct proc;  
 struct nosys_args;  
 extern int syscall_not_present(struct proc *, const char *, struct nosys_args *);  
   
 #define SYSCALL_NOT_PRESENT_GEN(SC) \  
 int SC (struct proc *p, struct SC##_args *uap) \  
 { \  
         return syscall_not_present(p, #SC , (struct nosys_args *)uap); \  
 }  
   
   
 MALLOC_DECLARE(M_P31B);  MALLOC_DECLARE(M_P31B);
   
 #define p31b_malloc(SIZE) malloc((SIZE), M_P31B, M_WAITOK)  #define p31b_malloc(SIZE) malloc((SIZE), M_P31B, M_WAITOK)
 #define p31b_free(P) free((P), M_P31B)  #define p31b_free(P) free((P), M_P31B)
   
   struct proc;
   
 int p31b_proc (struct proc *, pid_t, struct proc **);  int p31b_proc (struct proc *, pid_t, struct proc **);
   
 void p31b_setcfg (int, int);  void p31b_setcfg (int, int);

Removed from v.1.4  
changed lines
  Added in v.1.5