qemu-e2k/include/sysemu
Peter Maydell 2f93d8b04a rtc: Move RTC function prototypes to their own header
softmmu/rtc.c defines two public functions: qemu_get_timedate() and
qemu_timedate_diff().  Currently we keep the prototypes for these in
qemu-common.h, but most files don't need them.  Move them to their
own header, a new include/sysemu/rtc.h.

Since the C files using these two functions did not need to include
qemu-common.h for any other reason, we can remove those include lines
when we add the include of the new rtc.h.

The license for the .h file follows that of the softmmu/rtc.c
where both the functions are defined.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
2022-01-28 14:29:46 +00:00
..
accel-ops.h
arch_init.h
balloon.h
block-backend.h block-backend: update blk_co_pwrite() and blk_co_pread() wrappers 2021-10-15 16:02:09 -05:00
blockdev.h include/sysemu/blockdev.h: remove drive_get_max_devs 2022-01-14 12:03:16 +01:00
cpu-throttle.h
cpu-timers.h
cpus.h
cryptodev-vhost-user.h
cryptodev-vhost.h
cryptodev.h
device_tree.h device_tree: Add qemu_fdt_add_path 2021-10-20 18:17:54 -07:00
dma.h hw/dma: Let dma_buf_read() / dma_buf_write() propagate MemTxResult 2022-01-18 12:56:29 +01:00
dump-arch.h
dump.h
hax.h
hostmem.h
hvf_int.h arm/hvf: Add a WFI handler 2021-09-21 16:28:26 +01:00
hvf.h
hw_accel.h
iothread.h
kvm_int.h memory: Name all the memory listeners 2021-09-30 15:30:24 +02:00
kvm.h gdbstub, kvm: let KVM report supported singlestep flags 2021-12-10 09:47:18 +01:00
memory_mapping.h
numa.h
nvmm.h Only check CONFIG_NVMM when NEED_CPU_H is defined 2021-09-13 13:56:26 +02:00
os-posix.h
os-win32.h
qtest.h
replay.h
reset.h
rng-random.h
rng.h
rtc.h rtc: Move RTC function prototypes to their own header 2022-01-28 14:29:46 +00:00
runstate-action.h
runstate.h
seccomp.h
sysemu.h sysemu: Cleanup qemu_run_machine_init_done_notifiers() 2022-01-04 15:31:33 -08:00
tcg.h
tpm_backend.h
tpm_util.h
tpm.h
vhost-user-backend.h
watchdog.h watchdog: remove select_watchdog_action 2021-11-02 15:57:27 +01:00
whpx.h
xen-mapcache.h
xen.h