summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine/timekpr.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2009-04-23 16:33:28 +0000
committer Aaron Giles <aaron@aarongiles.com>2009-04-23 16:33:28 +0000
commit7b90e0165903bfd7231c9c39de83def12b1cc793 (patch)
treec8611959e09640db1c7bf42fa4a7448da7a30937 /src/emu/machine/timekpr.c
parentc8f329e654111e3fd85ac700ab7bd1537556a301 (diff)
Deprecated device_set_info. Almost all devices had a NULL or empty
function here. Remaining devices have been converted to have device-specific functions to do the same thing with proper type checking. CPUs still have a set_info function but it is CPU-specific now and no longer piggybacks on the general device function.
Diffstat (limited to 'src/emu/machine/timekpr.c')
-rw-r--r--src/emu/machine/timekpr.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/emu/machine/timekpr.c b/src/emu/machine/timekpr.c
index 40c5b975a0f..f90b578fd74 100644
--- a/src/emu/machine/timekpr.c
+++ b/src/emu/machine/timekpr.c
@@ -447,18 +447,6 @@ static DEVICE_NVRAM(timekeeper)
}
/*-------------------------------------------------
- device set info callback
--------------------------------------------------*/
-
-static DEVICE_SET_INFO(timekeeper)
-{
- switch (state)
- {
- /* no parameters to set */
- }
-}
-
-/*-------------------------------------------------
device get info callback
-------------------------------------------------*/
@@ -472,7 +460,6 @@ static DEVICE_GET_INFO(timekeeper)
case DEVINFO_INT_CLASS: info->i = DEVICE_CLASS_PERIPHERAL; break;
/* --- the following bits of info are returned as pointers to data or functions --- */
- case DEVINFO_FCT_SET_INFO: info->set_info = DEVICE_SET_INFO_NAME(timekeeper); break;
case DEVINFO_FCT_START: info->start = DEVICE_START_NAME(timekeeper); break;
case DEVINFO_FCT_STOP: /* nothing */ break;
case DEVINFO_FCT_RESET: info->reset = DEVICE_RESET_NAME(timekeeper); break;