summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-03-21 00:06:55 +0000
committeralfred <alfred@FreeBSD.org>2002-03-21 00:06:55 +0000
commite1ec4d77dcf9547ad4c02a371fcae1d9f176c338 (patch)
treeb248d8d0b7baa5aa9c99007bde534f84f39ee879
parentcd2525164f0b535f47c4e477375e21c30053d59e (diff)
downloadFreeBSD-src-e1ec4d77dcf9547ad4c02a371fcae1d9f176c338.zip
FreeBSD-src-e1ec4d77dcf9547ad4c02a371fcae1d9f176c338.tar.gz
Remove __P.
profile.h and bus.h were excluded because there is currently WIP. Reviewed by: tmm
-rw-r--r--sys/sparc64/include/cache.h18
-rw-r--r--sys/sparc64/include/float.h2
-rw-r--r--sys/sparc64/include/iommuvar.h36
-rw-r--r--sys/sparc64/include/reg.h14
-rw-r--r--sys/sparc64/sparc64/db_hwwatch.c6
5 files changed, 38 insertions, 38 deletions
diff --git a/sys/sparc64/include/cache.h b/sys/sparc64/include/cache.h
index e6bb173..0ef20fe 100644
--- a/sys/sparc64/include/cache.h
+++ b/sys/sparc64/include/cache.h
@@ -92,16 +92,16 @@
/*
* Routines for dealing with the cache.
*/
-void cache_init __P((phandle_t)); /* turn it on */
-void icache_flush __P((vm_offset_t, vm_offset_t));
-void icache_inval_phys __P((vm_offset_t, vm_offset_t));
-void dcache_flush __P((vm_offset_t, vm_offset_t));
-void dcache_inval __P((pmap_t, vm_offset_t, vm_offset_t));
-void dcache_inval_phys __P((vm_offset_t, vm_offset_t));
-void dcache_blast __P((void));
-void ecache_flush __P((vm_offset_t, vm_offset_t));
+void cache_init(phandle_t); /* turn it on */
+void icache_flush(vm_offset_t, vm_offset_t);
+void icache_inval_phys(vm_offset_t, vm_offset_t);
+void dcache_flush(vm_offset_t, vm_offset_t);
+void dcache_inval(pmap_t, vm_offset_t, vm_offset_t);
+void dcache_inval_phys(vm_offset_t, vm_offset_t);
+void dcache_blast(void);
+void ecache_flush(vm_offset_t, vm_offset_t);
#if 0
-void ecache_inval_phys __P((vm_offset_t, vm_offset_t));
+void ecache_inval_phys(vm_offset_t, vm_offset_t);
#endif
/*
diff --git a/sys/sparc64/include/float.h b/sys/sparc64/include/float.h
index b8467ee..96eab37 100644
--- a/sys/sparc64/include/float.h
+++ b/sys/sparc64/include/float.h
@@ -50,7 +50,7 @@
#include <sys/cdefs.h>
__BEGIN_DECLS
-extern int __flt_rounds __P((void));
+extern int __flt_rounds(void);
__END_DECLS
#define FLT_RADIX 2 /* b */
diff --git a/sys/sparc64/include/iommuvar.h b/sys/sparc64/include/iommuvar.h
index f64a379..148d0417 100644
--- a/sys/sparc64/include/iommuvar.h
+++ b/sys/sparc64/include/iommuvar.h
@@ -76,24 +76,24 @@ struct iommu_state {
};
/* interfaces for PCI/SBUS code */
-void iommu_init __P((char *, struct iommu_state *, int, u_int32_t));
-void iommu_reset __P((struct iommu_state *));
-void iommu_enter __P((struct iommu_state *, vm_offset_t, vm_offset_t, int));
-void iommu_remove __P((struct iommu_state *, vm_offset_t, size_t));
+void iommu_init(char *, struct iommu_state *, int, u_int32_t);
+void iommu_reset(struct iommu_state *);
+void iommu_enter(struct iommu_state *, vm_offset_t, vm_offset_t, int);
+void iommu_remove(struct iommu_state *, vm_offset_t, size_t);
-int iommu_dvmamap_create __P((bus_dma_tag_t, struct iommu_state *, int,
- bus_dmamap_t *));
-int iommu_dvmamap_destroy __P((bus_dma_tag_t, struct iommu_state *,
- bus_dmamap_t));
-int iommu_dvmamap_load __P((bus_dma_tag_t, struct iommu_state *, bus_dmamap_t,
- void *, bus_size_t, bus_dmamap_callback_t *, void *, int));
-void iommu_dvmamap_unload __P((bus_dma_tag_t, struct iommu_state *,
- bus_dmamap_t));
-void iommu_dvmamap_sync __P((bus_dma_tag_t, struct iommu_state *, bus_dmamap_t,
- bus_dmasync_op_t));
-int iommu_dvmamem_alloc __P((bus_dma_tag_t, struct iommu_state *, void **, int,
- bus_dmamap_t *));
-void iommu_dvmamem_free __P((bus_dma_tag_t, struct iommu_state *, void *,
- bus_dmamap_t));
+int iommu_dvmamap_create(bus_dma_tag_t, struct iommu_state *, int,
+ bus_dmamap_t *);
+int iommu_dvmamap_destroy(bus_dma_tag_t, struct iommu_state *,
+ bus_dmamap_t);
+int iommu_dvmamap_load(bus_dma_tag_t, struct iommu_state *, bus_dmamap_t,
+ void *, bus_size_t, bus_dmamap_callback_t *, void *, int);
+void iommu_dvmamap_unload(bus_dma_tag_t, struct iommu_state *,
+ bus_dmamap_t);
+void iommu_dvmamap_sync(bus_dma_tag_t, struct iommu_state *, bus_dmamap_t,
+ bus_dmasync_op_t);
+int iommu_dvmamem_alloc(bus_dma_tag_t, struct iommu_state *, void **, int,
+ bus_dmamap_t *);
+void iommu_dvmamem_free(bus_dma_tag_t, struct iommu_state *, void *,
+ bus_dmamap_t);
#endif /* !_MACHINE_IOMMUVAR_H_ */
diff --git a/sys/sparc64/include/reg.h b/sys/sparc64/include/reg.h
index 7fee0c4..bc861d8 100644
--- a/sys/sparc64/include/reg.h
+++ b/sys/sparc64/include/reg.h
@@ -72,13 +72,13 @@ struct dbreg {
/*
* XXX these interfaces are MI, so they should be declared in a MI place.
*/
-void setregs __P((struct thread *, u_long, u_long, u_long));
-int fill_regs __P((struct thread *, struct reg *));
-int set_regs __P((struct thread *, struct reg *));
-int fill_fpregs __P((struct thread *, struct fpreg *));
-int set_fpregs __P((struct thread *, struct fpreg *));
-int fill_dbregs __P((struct thread *, struct dbreg *));
-int set_dbregs __P((struct thread *, struct dbreg *));
+void setregs(struct thread *, u_long, u_long, u_long);
+int fill_regs(struct thread *, struct reg *);
+int set_regs(struct thread *, struct reg *);
+int fill_fpregs(struct thread *, struct fpreg *);
+int set_fpregs(struct thread *, struct fpreg *);
+int fill_dbregs(struct thread *, struct dbreg *);
+int set_dbregs(struct thread *, struct dbreg *);
#endif
#endif /* !_MACHINE_REG_H_ */
diff --git a/sys/sparc64/sparc64/db_hwwatch.c b/sys/sparc64/sparc64/db_hwwatch.c
index d5eecb5..e8331b1 100644
--- a/sys/sparc64/sparc64/db_hwwatch.c
+++ b/sys/sparc64/sparc64/db_hwwatch.c
@@ -42,9 +42,9 @@
#include <ddb/db_variables.h>
#include <ddb/db_watch.h>
-int db_md_set_watchpoint __P((db_expr_t addr, db_expr_t size));
-int db_md_clr_watchpoint __P((db_expr_t addr, db_expr_t size));
-void db_md_list_watchpoints __P((void));
+int db_md_set_watchpoint(db_expr_t addr, db_expr_t size);
+int db_md_clr_watchpoint(db_expr_t addr, db_expr_t size);
+void db_md_list_watchpoints(void);
static void db_watch_print(vm_offset_t wp, int bm);
OpenPOWER on IntegriCloud