more lint
[unix-history] / usr / src / sys / kern / kern_synch.c
index c655da4..4605c2e 100644 (file)
@@ -1,4 +1,4 @@
-/*     kern_synch.c    4.21    82/09/08        */
+/*     kern_synch.c    4.23    82/10/17        */
 
 #include "../h/param.h"
 #include "../h/systm.h"
 
 #include "../h/param.h"
 #include "../h/systm.h"
@@ -9,14 +9,13 @@
 #include "../h/inode.h"
 #include "../h/vm.h"
 #include "../h/pte.h"
 #include "../h/inode.h"
 #include "../h/vm.h"
 #include "../h/pte.h"
-#include "../h/inline.h"
-#include "../h/mtpr.h"
 #ifdef MUSH
 #include "../h/quota.h"
 #include "../h/share.h"
 #endif
 #include "../h/kernel.h"
 #include "../h/buf.h"
 #ifdef MUSH
 #include "../h/quota.h"
 #include "../h/share.h"
 #endif
 #include "../h/kernel.h"
 #include "../h/buf.h"
+#include "../vax/mtpr.h"       /* XXX */
 
 /*
  * Force switch among equal priority processes every 100ms.
 
 /*
  * Force switch among equal priority processes every 100ms.
@@ -26,7 +25,7 @@ roundrobin()
 
        runrun++;
        aston();
 
        runrun++;
        aston();
-       timeout(roundrobin, 0, hz / 10);
+       timeout(roundrobin, (caddr_t)0, hz / 10);
 }
 
 /* constants to digital decay and forget 90% of usage in 5*loadav time */
 }
 
 /* constants to digital decay and forget 90% of usage in 5*loadav time */
@@ -94,7 +93,7 @@ schedcpu()
        }
        if (bclnlist != NULL)
                wakeup((caddr_t)&proc[2]);
        }
        if (bclnlist != NULL)
                wakeup((caddr_t)&proc[2]);
-       timeout(schedcpu, 0, hz);
+       timeout(schedcpu, (caddr_t)0, hz);
 }
 
 #define SQSIZE 0100    /* Must be power of 2 */
 }
 
 #define SQSIZE 0100    /* Must be power of 2 */