diff options
Diffstat (limited to 'src/devices/machine')
-rw-r--r-- | src/devices/machine/adc083x.cpp | 2 | ||||
-rw-r--r-- | src/devices/machine/i2cmem.cpp | 2 | ||||
-rw-r--r-- | src/devices/machine/mc68328.cpp | 2 | ||||
-rw-r--r-- | src/devices/machine/mm58167.cpp | 2 | ||||
-rw-r--r-- | src/devices/machine/rtc4543.cpp | 2 | ||||
-rw-r--r-- | src/devices/machine/s3c2400.cpp | 2 | ||||
-rw-r--r-- | src/devices/machine/s3c2410.cpp | 2 | ||||
-rw-r--r-- | src/devices/machine/s3c2440.cpp | 2 | ||||
-rw-r--r-- | src/devices/machine/s3c44b0.cpp | 2 | ||||
-rw-r--r-- | src/devices/machine/timekpr.cpp | 4 |
10 files changed, 11 insertions, 11 deletions
diff --git a/src/devices/machine/adc083x.cpp b/src/devices/machine/adc083x.cpp index 40259e595f1..690c2d0e1fd 100644 --- a/src/devices/machine/adc083x.cpp +++ b/src/devices/machine/adc083x.cpp @@ -13,7 +13,7 @@ #define VERBOSE_LEVEL ( 0 ) -INLINE void ATTR_PRINTF( 3, 4 ) verboselog( int n_level, device_t &device, const char *s_fmt, ... ) +static inline void ATTR_PRINTF( 3, 4 ) verboselog( int n_level, device_t &device, const char *s_fmt, ... ) { if( VERBOSE_LEVEL >= n_level ) { diff --git a/src/devices/machine/i2cmem.cpp b/src/devices/machine/i2cmem.cpp index 17da9d40e2e..d77e12ef4be 100644 --- a/src/devices/machine/i2cmem.cpp +++ b/src/devices/machine/i2cmem.cpp @@ -40,7 +40,7 @@ Up to 4096 bytes can be addressed. #define VERBOSE_LEVEL ( 0 ) -INLINE void ATTR_PRINTF( 3, 4 ) verboselog( device_t *device, int n_level, const char *s_fmt, ... ) +static inline void ATTR_PRINTF( 3, 4 ) verboselog( device_t *device, int n_level, const char *s_fmt, ... ) { if( VERBOSE_LEVEL >= n_level ) { diff --git a/src/devices/machine/mc68328.cpp b/src/devices/machine/mc68328.cpp index 3e2101dddf2..4cd578d6a4c 100644 --- a/src/devices/machine/mc68328.cpp +++ b/src/devices/machine/mc68328.cpp @@ -15,7 +15,7 @@ #define VERBOSE_LEVEL (0) -INLINE void ATTR_PRINTF(3,4) verboselog(device_t &device, int n_level, const char *s_fmt, ...) +static inline void ATTR_PRINTF(3,4) verboselog(device_t &device, int n_level, const char *s_fmt, ...) { if (VERBOSE_LEVEL >= n_level) { diff --git a/src/devices/machine/mm58167.cpp b/src/devices/machine/mm58167.cpp index 74572770710..ed66df7603f 100644 --- a/src/devices/machine/mm58167.cpp +++ b/src/devices/machine/mm58167.cpp @@ -93,7 +93,7 @@ void mm58167_device::device_reset() } -INLINE UINT8 make_bcd(UINT8 data) +static inline UINT8 make_bcd(UINT8 data) { return ((data / 10) << 4) | (data % 10); } diff --git a/src/devices/machine/rtc4543.cpp b/src/devices/machine/rtc4543.cpp index 0d0211304cb..ac1eba33e79 100644 --- a/src/devices/machine/rtc4543.cpp +++ b/src/devices/machine/rtc4543.cpp @@ -88,7 +88,7 @@ void rtc4543_device::device_timer(emu_timer &timer, device_timer_id id, int para } -INLINE UINT8 make_bcd(UINT8 data) +static inline UINT8 make_bcd(UINT8 data) { return ((data / 10) << 4) | (data % 10); } diff --git a/src/devices/machine/s3c2400.cpp b/src/devices/machine/s3c2400.cpp index d1b185d453e..a1ef609a1ac 100644 --- a/src/devices/machine/s3c2400.cpp +++ b/src/devices/machine/s3c2400.cpp @@ -16,7 +16,7 @@ #define VERBOSE_LEVEL ( 0 ) -INLINE void ATTR_PRINTF(3,4) verboselog( device_t &device, int n_level, const char *s_fmt, ...) +static inline void ATTR_PRINTF(3,4) verboselog( device_t &device, int n_level, const char *s_fmt, ...) { if (VERBOSE_LEVEL >= n_level) { diff --git a/src/devices/machine/s3c2410.cpp b/src/devices/machine/s3c2410.cpp index 8c2ba31049e..c89a67ef47b 100644 --- a/src/devices/machine/s3c2410.cpp +++ b/src/devices/machine/s3c2410.cpp @@ -16,7 +16,7 @@ #define VERBOSE_LEVEL ( 0 ) -INLINE void ATTR_PRINTF(3,4) verboselog( device_t &device, int n_level, const char *s_fmt, ...) +static inline void ATTR_PRINTF(3,4) verboselog( device_t &device, int n_level, const char *s_fmt, ...) { if (VERBOSE_LEVEL >= n_level) { diff --git a/src/devices/machine/s3c2440.cpp b/src/devices/machine/s3c2440.cpp index 15795ef3448..7cc5e0a6247 100644 --- a/src/devices/machine/s3c2440.cpp +++ b/src/devices/machine/s3c2440.cpp @@ -16,7 +16,7 @@ #define VERBOSE_LEVEL ( 0 ) -INLINE void ATTR_PRINTF(3,4) verboselog( device_t &device, int n_level, const char *s_fmt, ...) +static inline void ATTR_PRINTF(3,4) verboselog( device_t &device, int n_level, const char *s_fmt, ...) { if (VERBOSE_LEVEL >= n_level) { diff --git a/src/devices/machine/s3c44b0.cpp b/src/devices/machine/s3c44b0.cpp index 56e9ee32e3b..37402f900b0 100644 --- a/src/devices/machine/s3c44b0.cpp +++ b/src/devices/machine/s3c44b0.cpp @@ -17,7 +17,7 @@ #define VERBOSE_LEVEL ( 0 ) -INLINE void ATTR_PRINTF(3,4) verboselog( device_t &device, int n_level, const char *s_fmt, ...) +static inline void ATTR_PRINTF(3,4) verboselog( device_t &device, int n_level, const char *s_fmt, ...) { if (VERBOSE_LEVEL >= n_level) { diff --git a/src/devices/machine/timekpr.cpp b/src/devices/machine/timekpr.cpp index 177cd5fef55..ccd849ef21d 100644 --- a/src/devices/machine/timekpr.cpp +++ b/src/devices/machine/timekpr.cpp @@ -61,12 +61,12 @@ const device_type MK48T08 = &device_creator<mk48t08_device>; INLINE FUNCTIONS ***************************************************************************/ -INLINE UINT8 make_bcd(UINT8 data) +static inline UINT8 make_bcd(UINT8 data) { return ( ( ( data / 10 ) % 10 ) << 4 ) + ( data % 10 ); } -INLINE UINT8 from_bcd( UINT8 data ) +static inline UINT8 from_bcd( UINT8 data ) { return ( ( ( data >> 4 ) & 15 ) * 10 ) + ( data & 15 ); } |