mirror of
https://github.com/qemu/qemu.git
synced 2025-10-27 22:03:47 +00:00
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> |
||
|---|---|---|
| .. | ||
| allwinner-rtc.c | ||
| aspeed_rtc.c | ||
| ds1338.c | ||
| exynos4210_rtc.c | ||
| goldfish_rtc.c | ||
| Kconfig | ||
| m41t80.c | ||
| m48t59-internal.h | ||
| m48t59-isa.c | ||
| m48t59.c | ||
| mc146818rtc.c | ||
| meson.build | ||
| pl031.c | ||
| sun4v-rtc.c | ||
| trace-events | ||
| trace.h | ||
| twl92230.c | ||
| xlnx-zynqmp-rtc.c | ||