summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-06-10 19:26:52 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-06-10 19:26:52 +0000
commitc5e4bab3f57228b540f18853c08b4018747526c1 (patch)
tree471d34816b23d9333fbb5bd88aa2694439f5b469 /sys
parent0572976a67927add72b65083f7756fa977987fd0 (diff)
If we use GCC, tell the compiler that scheduler() do not return
Diffstat (limited to 'sys')
-rw-r--r--sys/vm/vm_extern.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/vm/vm_extern.h b/sys/vm/vm_extern.h
index 1ea3a70ff4e..64a732b223d 100644
--- a/sys/vm/vm_extern.h
+++ b/sys/vm/vm_extern.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_extern.h,v 1.5 1996/05/02 13:21:11 deraadt Exp $ */
+/* $OpenBSD: vm_extern.h,v 1.6 1996/06/10 19:26:51 niklas Exp $ */
/* $NetBSD: vm_extern.h,v 1.20 1996/04/23 12:25:23 christos Exp $ */
/*-
@@ -83,7 +83,11 @@ void loadav __P((struct loadavg *));
void munmapfd __P((struct proc *, int));
int pager_cache __P((vm_object_t, boolean_t));
void sched __P((void));
+#ifdef __GNUC__
+void scheduler __P((void)) __attribute ((noreturn));
+#else
void scheduler __P((void));
+#endif
int svm_allocate __P((struct proc *, void *, int *));
int svm_deallocate __P((struct proc *, void *, int *));
int svm_inherit __P((struct proc *, void *, int *));