summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-04-30 13:17:39 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-04-30 13:17:39 +0000
commitf752ff0def1e384bb68bebaa5aabcb424e22b78d (patch)
tree81f0cab3a434120626b7fe85e3e7d4855ecc4319 /sys/arch
parentf0a91721bc41ade1f0af77e3ef582d498a527ff3 (diff)
Move gdt_init prototype to gdt.h
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/i386/i386/gdt.c3
-rw-r--r--sys/arch/i386/include/gdt.h3
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/i386/i386/gdt.c b/sys/arch/i386/i386/gdt.c
index 4df49b135e5..e8e4ba691db 100644
--- a/sys/arch/i386/i386/gdt.c
+++ b/sys/arch/i386/i386/gdt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gdt.c,v 1.12 2001/03/22 23:36:51 niklas Exp $ */
+/* $OpenBSD: gdt.c,v 1.13 2001/04/30 13:17:38 art Exp $ */
/* $NetBSD: gdt.c,v 1.8 1996/05/03 19:42:06 christos Exp $ */
/*-
@@ -67,7 +67,6 @@ int gdt_flags;
static __inline void gdt_lock __P((void));
static __inline void gdt_unlock __P((void));
void gdt_compact __P((void));
-void gdt_init __P((void));
void gdt_grow __P((void));
void gdt_shrink __P((void));
int gdt_get_slot __P((void));
diff --git a/sys/arch/i386/include/gdt.h b/sys/arch/i386/include/gdt.h
index 46d52f88b32..8d6144ba8b1 100644
--- a/sys/arch/i386/include/gdt.h
+++ b/sys/arch/i386/include/gdt.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: gdt.h,v 1.6 2001/03/22 23:36:52 niklas Exp $ */
+/* $OpenBSD: gdt.h,v 1.7 2001/04/30 13:17:37 art Exp $ */
/* $NetBSD: gdt.h,v 1.3 1996/02/27 22:32:11 jtc Exp $ */
/*-
@@ -38,6 +38,7 @@
*/
#ifdef _KERNEL
+void gdt_init __P((void));
void tss_alloc __P((struct pcb *));
void tss_free __P((struct pcb *));
#ifdef PMAP_NEW