diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2015-12-19 14:59:26 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2015-12-19 14:59:26 +0000 |
commit | 383e4d066d06b2202062c44ff3a3668de76adacb (patch) | |
tree | 3da99968e8a08cf41b492251ba0fe4597d27ac74 /sys | |
parent | 8f66039ebcc7a7985d2e98ffa56a95009b361f64 (diff) |
Move agp_generic_enable() prototype to agpvar.h to unbreak the build on
macppc.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/agp.c | 3 | ||||
-rw-r--r-- | sys/dev/pci/agpvar.h | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/agp.c b/sys/dev/pci/agp.c index cc28a79007a..c594708a7e8 100644 --- a/sys/dev/pci/agp.c +++ b/sys/dev/pci/agp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: agp.c,v 1.46 2015/09/09 19:47:11 deraadt Exp $ */ +/* $OpenBSD: agp.c,v 1.47 2015/12/19 14:59:25 kettenis Exp $ */ /*- * Copyright (c) 2000 Doug Rabson * All rights reserved. @@ -52,7 +52,6 @@ * integrated graphics, since they are not technically a true agp chipset, * but provide an almost identical interface. */ -int agp_generic_enable(struct agp_softc *, u_int32_t); struct agp_memory * agp_generic_alloc_memory(struct agp_softc *, int, vsize_t size); int agp_generic_free_memory(struct agp_softc *, struct agp_memory *); diff --git a/sys/dev/pci/agpvar.h b/sys/dev/pci/agpvar.h index 3101875327a..2f4e0f8996c 100644 --- a/sys/dev/pci/agpvar.h +++ b/sys/dev/pci/agpvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: agpvar.h,v 1.31 2014/09/20 16:15:16 kettenis Exp $ */ +/* $OpenBSD: agpvar.h,v 1.32 2015/12/19 14:59:25 kettenis Exp $ */ /* $NetBSD: agpvar.h,v 1.4 2001/10/01 21:54:48 fvdl Exp $ */ /*- @@ -167,6 +167,7 @@ struct agp_gatt * void agp_free_gatt(bus_dma_tag_t, struct agp_gatt *); void agp_flush_cache(void); void agp_flush_cache_range(vaddr_t, vsize_t); +int agp_generic_enable(struct agp_softc *, u_int32_t); int agp_generic_bind_memory(struct agp_softc *, struct agp_memory *, bus_size_t); int agp_generic_unbind_memory(struct agp_softc *, struct agp_memory *); |