diff options
author | 2008-03-03 01:51:31 +0000 | |
---|---|---|
committer | 2008-03-03 01:51:31 +0000 | |
commit | e31f9a631301dace92853014f9c8a909f7e02d3e (patch) | |
tree | 7a628da91c1e779225f87c96f5b80373e8496f38 /src/emu/config.c | |
parent | 05702939cde6179483f2b0f586ec1fb696933e41 (diff) |
Normalized function pointer typedefs: they are now all
suffixed with _func. Did this throughout the core and
drivers I was familiar with.
Fixed gcc compiler error with recent render.c changes.
gcc does not like explicit (int) casts on float or
double functions. This is fracking annoying and stupid,
but there you have it.
Diffstat (limited to 'src/emu/config.c')
-rw-r--r-- | src/emu/config.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/config.c b/src/emu/config.c index 277426186eb..7da3baf3115 100644 --- a/src/emu/config.c +++ b/src/emu/config.c @@ -35,8 +35,8 @@ struct _config_type { struct _config_type * next; /* next in line */ const char * name; /* node name */ - config_callback load; /* load callback */ - config_callback save; /* save callback */ + config_callback_func load; /* load callback */ + config_callback_func save; /* save callback */ }; @@ -86,7 +86,7 @@ void config_init(running_machine *machine) * *************************************/ -void config_register(const char *nodename, config_callback load, config_callback save) +void config_register(const char *nodename, config_callback_func load, config_callback_func save) { config_type *newtype; config_type **ptype; |