diff options
author | Aaron Giles <aaron@aarongiles.com> | 2009-03-19 06:15:14 +0000 |
---|---|---|
committer | Aaron Giles <aaron@aarongiles.com> | 2009-03-19 06:15:14 +0000 |
commit | 58d832602b06c8d4587562160714531443fd54e4 (patch) | |
tree | 8d9ec0dbb0ac9aea339d7476353a258a1e93aee9 /src/emu/machine/6850acia.h | |
parent | 5caef9210c376d563b9fa8b47a81f68b0afc6f3a (diff) |
Having decided to look at the MAME source again, I have a fairly minor patch:
* Fix build of ldplayer on OS X. Since the CUSTOM sound module no longer exists, I
arbitrarily changed it to WAVE, as ar gets upset if it has no input files. I also
removed the -all_load flag for ldplayer from the main makefile as it upsets the linker
on OS X.
* Fix build for PPC64 Linux. (This slightly messes up static branch prediction hints
on OS X and AIX, but OS X for PPC64 is dead, and no- one builds MAME for AIX, and
it will still build, anyway.)
* Paramaterise the arguments to check for NULL in the ATTR_NONNULL macro rather than
just checking the first argument. This requires compiler support for C99 variadic
macros (MSVC2005 and GCC4 have this AFAIK).
Vas
Diffstat (limited to 'src/emu/machine/6850acia.h')
-rw-r--r-- | src/emu/machine/6850acia.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/emu/machine/6850acia.h b/src/emu/machine/6850acia.h index 022d0f09ef0..091708f7345 100644 --- a/src/emu/machine/6850acia.h +++ b/src/emu/machine/6850acia.h @@ -63,11 +63,11 @@ struct _acia6850_interface DEVICE_GET_INFO( acia6850 ); -void acia6850_tx_clock_in(const device_config *device) ATTR_NONNULL; -void acia6850_rx_clock_in(const device_config *device) ATTR_NONNULL; +void acia6850_tx_clock_in(const device_config *device) ATTR_NONNULL(1); +void acia6850_rx_clock_in(const device_config *device) ATTR_NONNULL(1); -void acia6850_set_rx_clock(const device_config *device, int clock) ATTR_NONNULL; -void acia6850_set_tx_clock(const device_config *device, int clock) ATTR_NONNULL; +void acia6850_set_rx_clock(const device_config *device, int clock) ATTR_NONNULL(1); +void acia6850_set_tx_clock(const device_config *device, int clock) ATTR_NONNULL(1); WRITE8_DEVICE_HANDLER( acia6850_ctrl_w ); READ8_DEVICE_HANDLER( acia6850_stat_r ); |