summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2022-10-25 12:15:14 -0400
committer AJR <ajrhacker@users.noreply.github.com>2022-10-25 12:16:07 -0400
commite178fbd28127c526b212e5a4998058cebf530567 (patch)
tree90acdb09f6718d222a342889baaf3123a0962624 /src/devices/machine
parentedaa86db8877e8e4fbf0066bd48abc32d68eb00d (diff)
Remove #include <cstdarg> from emu.h and move it into source files that still require it
Diffstat (limited to 'src/devices/machine')
-rw-r--r--src/devices/machine/adc083x.cpp2
-rw-r--r--src/devices/machine/ds1204.cpp1
-rw-r--r--src/devices/machine/ds1205.cpp1
-rw-r--r--src/devices/machine/ds2401.cpp2
-rw-r--r--src/devices/machine/i2cmem.cpp2
-rw-r--r--src/devices/machine/s3c44b0.cpp1
-rw-r--r--src/devices/machine/x76f041.cpp2
-rw-r--r--src/devices/machine/x76f100.cpp2
8 files changed, 13 insertions, 0 deletions
diff --git a/src/devices/machine/adc083x.cpp b/src/devices/machine/adc083x.cpp
index 1e0fd2dd7e7..c5c75655625 100644
--- a/src/devices/machine/adc083x.cpp
+++ b/src/devices/machine/adc083x.cpp
@@ -11,6 +11,8 @@
#include "emu.h"
#include "adc083x.h"
+#include <cstdarg>
+
#define VERBOSE_LEVEL ( 0 )
static inline void ATTR_PRINTF( 3, 4 ) verboselog( int n_level, device_t &device, const char *s_fmt, ... )
diff --git a/src/devices/machine/ds1204.cpp b/src/devices/machine/ds1204.cpp
index e1070113277..6d4fd46fc54 100644
--- a/src/devices/machine/ds1204.cpp
+++ b/src/devices/machine/ds1204.cpp
@@ -10,6 +10,7 @@
#include "emu.h"
#include "ds1204.h"
+#include <cstdarg>
#include <cstdio>
diff --git a/src/devices/machine/ds1205.cpp b/src/devices/machine/ds1205.cpp
index 5a723d5f259..7bafe3b6a88 100644
--- a/src/devices/machine/ds1205.cpp
+++ b/src/devices/machine/ds1205.cpp
@@ -10,6 +10,7 @@
#include "emu.h"
#include "ds1205.h"
+#include <cstdarg>
#include <cstdio>
diff --git a/src/devices/machine/ds2401.cpp b/src/devices/machine/ds2401.cpp
index 3ceabcb66f2..e2236eef5d2 100644
--- a/src/devices/machine/ds2401.cpp
+++ b/src/devices/machine/ds2401.cpp
@@ -11,6 +11,8 @@
#include "emu.h"
#include "machine/ds2401.h"
+#include <cstdarg>
+
#define VERBOSE_LEVEL 0
inline void ds2401_device::verboselog(int n_level, const char *s_fmt, ...)
diff --git a/src/devices/machine/i2cmem.cpp b/src/devices/machine/i2cmem.cpp
index 8c64c372358..2db16de0899 100644
--- a/src/devices/machine/i2cmem.cpp
+++ b/src/devices/machine/i2cmem.cpp
@@ -25,6 +25,8 @@ there are two standard values.
#include "emu.h"
#include "machine/i2cmem.h"
+#include <cstdarg>
+
constexpr int STATE_IDLE(0);
constexpr int STATE_DEVSEL(1);
constexpr int STATE_ADDRESSHIGH(2);
diff --git a/src/devices/machine/s3c44b0.cpp b/src/devices/machine/s3c44b0.cpp
index 2f114f2a80c..dc5e52c31f0 100644
--- a/src/devices/machine/s3c44b0.cpp
+++ b/src/devices/machine/s3c44b0.cpp
@@ -16,6 +16,7 @@
#include "screen.h"
#include <algorithm>
+#include <cstdarg>
#define S3C44B0_INTCON (0x00 / 4) // Interrupt Control
diff --git a/src/devices/machine/x76f041.cpp b/src/devices/machine/x76f041.cpp
index 74b15449f3b..340cf224800 100644
--- a/src/devices/machine/x76f041.cpp
+++ b/src/devices/machine/x76f041.cpp
@@ -16,6 +16,8 @@
#include "emu.h"
#include "machine/x76f041.h"
+#include <cstdarg>
+
#define VERBOSE_LEVEL ( 0 )
inline void ATTR_PRINTF( 3, 4 ) x76f041_device::verboselog( int n_level, const char *s_fmt, ... )
diff --git a/src/devices/machine/x76f100.cpp b/src/devices/machine/x76f100.cpp
index 320ab833549..032020059d9 100644
--- a/src/devices/machine/x76f100.cpp
+++ b/src/devices/machine/x76f100.cpp
@@ -14,6 +14,8 @@
#include "emu.h"
#include "machine/x76f100.h"
+#include <cstdarg>
+
#define VERBOSE_LEVEL ( 0 )
inline void ATTR_PRINTF( 3, 4 ) x76f100_device::verboselog( int n_level, const char *s_fmt, ... )