diff options
| author | dsl <dsl@NetBSD.org> | 2009-03-14 14:45:51 +0000 |
|---|---|---|
| committer | dsl <dsl@NetBSD.org> | 2009-03-14 14:45:51 +0000 |
| commit | 02cdf4d2c869ecfa1ae5484cf77eefe2fbcc6d94 (patch) | |
| tree | 9a02e625d403e5fcedfdc6be4803e2404356bf31 /sys/arch/atari/dev/grfabs_reg.h | |
| parent | dfbb3f921a23a1aba4463f31ef9233ac94ce606c (diff) | |
Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.
Diffstat (limited to 'sys/arch/atari/dev/grfabs_reg.h')
| -rw-r--r-- | sys/arch/atari/dev/grfabs_reg.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/sys/arch/atari/dev/grfabs_reg.h b/sys/arch/atari/dev/grfabs_reg.h index e37428de773..38658dd6fb3 100644 --- a/sys/arch/atari/dev/grfabs_reg.h +++ b/sys/arch/atari/dev/grfabs_reg.h @@ -1,4 +1,4 @@ -/* $NetBSD: grfabs_reg.h,v 1.13 2005/12/11 12:16:54 christos Exp $ */ +/* $NetBSD: grfabs_reg.h,v 1.14 2009/03/14 14:45:56 dsl Exp $ */ /* * Copyright (c) 1995 Leo Weppelman @@ -142,12 +142,12 @@ enum colormap_type { #define MAKE_GREY_ENTRY(l) (l & 0xff) struct grfabs_sw { - void (*display_view) __P((view_t*)); - view_t * (*alloc_view) __P((dmode_t *, dimen_t *, u_char)); - void (*free_view) __P((view_t *)); - void (*remove_view) __P((view_t *)); - void (*save_view) __P((view_t *)); - int (*use_colormap) __P((view_t *, colormap_t *)); + void (*display_view)(view_t*); + view_t * (*alloc_view)(dmode_t *, dimen_t *, u_char); + void (*free_view)(view_t *); + void (*remove_view)(view_t *); + void (*save_view)(view_t *); + int (*use_colormap)(view_t *, colormap_t *); }; /* display mode */ @@ -181,7 +181,7 @@ typedef LIST_HEAD(modelist, display_mode) MODES; /* * Prototype for the probe function */ -typedef void (*grf_probe_t) __P((MODES *)); +typedef void (*grf_probe_t)(MODES *); /* * Common variables @@ -194,14 +194,14 @@ extern u_long gra_def_color16[16]; /* * Prototypes: */ -int grfabs_probe __P((grf_probe_t)); -view_t *grf_alloc_view __P((dmode_t *d, dimen_t *dim, u_char depth)); -dmode_t *grf_get_best_mode __P((dimen_t *dim, u_char depth)); -void grf_display_view __P((view_t *v)); -void grf_remove_view __P((view_t *v)); -void grf_free_view __P((view_t *v)); -int grf_get_colormap __P((view_t *, colormap_t *)); -int grf_use_colormap __P((view_t *, colormap_t *)); -void grf_save_view __P((view_t *v)); +int grfabs_probe(grf_probe_t); +view_t *grf_alloc_view(dmode_t *d, dimen_t *dim, u_char depth); +dmode_t *grf_get_best_mode(dimen_t *dim, u_char depth); +void grf_display_view(view_t *v); +void grf_remove_view(view_t *v); +void grf_free_view(view_t *v); +int grf_get_colormap(view_t *, colormap_t *); +int grf_use_colormap(view_t *, colormap_t *); +void grf_save_view(view_t *v); #endif /* _GRFABS_REG_H */ |
