summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/rs232
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-12-04 07:02:00 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2015-12-04 07:02:00 +0100
commit68f961927a156c47cb444c1f66258a89342d0205 (patch)
treeb0d5753d5658e62ecca72d37af2f79dfc7f808bb /src/devices/bus/rs232
parent029a3003631093ffaf1a0318e0c58b3e173403a3 (diff)
clang-modernize part 2
Diffstat (limited to 'src/devices/bus/rs232')
-rw-r--r--src/devices/bus/rs232/null_modem.cpp2
-rw-r--r--src/devices/bus/rs232/pty.cpp2
-rw-r--r--src/devices/bus/rs232/rs232.cpp4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/bus/rs232/null_modem.cpp b/src/devices/bus/rs232/null_modem.cpp
index e34cc1e7597..4c5d7417a8b 100644
--- a/src/devices/bus/rs232/null_modem.cpp
+++ b/src/devices/bus/rs232/null_modem.cpp
@@ -15,7 +15,7 @@ null_modem_device::null_modem_device(const machine_config &mconfig, const char *
m_rs232_stopbits(*this, "RS232_STOPBITS"),
m_input_count(0),
m_input_index(0),
- m_timer_poll(NULL)
+ m_timer_poll(nullptr)
{
}
diff --git a/src/devices/bus/rs232/pty.cpp b/src/devices/bus/rs232/pty.cpp
index c239a7dced8..3a525236128 100644
--- a/src/devices/bus/rs232/pty.cpp
+++ b/src/devices/bus/rs232/pty.cpp
@@ -19,7 +19,7 @@ pseudo_terminal_device::pseudo_terminal_device(const machine_config &mconfig, co
m_rs232_stopbits(*this, "RS232_STOPBITS"),
m_input_count(0),
m_input_index(0),
- m_timer_poll(NULL)
+ m_timer_poll(nullptr)
{
}
diff --git a/src/devices/bus/rs232/rs232.cpp b/src/devices/bus/rs232/rs232.cpp
index 4abceaff098..31d6310e2ad 100644
--- a/src/devices/bus/rs232/rs232.cpp
+++ b/src/devices/bus/rs232/rs232.cpp
@@ -17,7 +17,7 @@ rs232_port_device::rs232_port_device(const machine_config &mconfig, const char *
m_dsr_handler(*this),
m_ri_handler(*this),
m_cts_handler(*this),
- m_dev(NULL)
+ m_dev(nullptr)
{
}
@@ -34,7 +34,7 @@ rs232_port_device::rs232_port_device(const machine_config &mconfig, device_type
m_dsr_handler(*this),
m_ri_handler(*this),
m_cts_handler(*this),
- m_dev(NULL)
+ m_dev(nullptr)
{
}