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
..
2020-09-18 14:12:32 -04:00
2021-10-15 16:06:35 +02:00
2020-09-18 14:12:32 -04:00
2021-04-06 11:49:14 +01:00
2018-04-27 18:05:22 +10:00
2019-05-23 14:10:31 +02:00
2021-07-20 20:10:20 +02:00
2021-12-17 17:57:12 +01:00
2021-12-17 17:57:12 +01:00
2021-12-17 17:57:12 +01:00
2021-07-09 10:38:19 +10:00
2022-01-04 07:55:34 +01:00
2020-02-19 16:50:00 +00:00
2021-06-03 18:10:31 +10:00
2021-11-09 10:32:52 +11:00
2021-03-09 21:19:10 +01:00
2021-09-29 19:37:38 +10:00
2020-02-02 14:07:57 +11:00
2021-02-10 10:43:50 +11:00
2020-02-02 14:07:57 +11:00
2021-11-09 10:32:52 +11:00
2021-05-05 20:29:14 +01:00
2021-09-29 19:37:38 +10:00
2022-01-12 11:28:27 +01:00
2022-01-04 07:55:34 +01:00
2022-01-04 07:55:34 +01:00
2021-12-17 17:57:17 +01:00
2022-01-04 07:55:34 +01:00
2021-12-17 17:57:17 +01:00
2021-05-02 17:24:51 +02:00
2021-05-02 17:24:51 +02:00
2021-05-02 17:24:51 +02:00
2018-07-03 09:56:52 +10:00
2021-05-02 17:24:50 +02:00
2022-01-04 07:55:34 +01:00
2020-11-15 16:38:50 +01:00
2021-02-08 15:15:32 +01:00
2021-08-26 17:02:00 +01:00
2021-05-02 17:24:51 +02:00
2021-05-02 17:24:51 +02:00
2021-07-09 11:01:06 +10:00
2021-12-17 17:57:18 +01:00
2021-09-30 12:26:06 +10:00
2021-08-26 17:15:28 +02:00
2021-09-30 12:26:06 +10:00
2021-05-02 17:24:51 +02:00
2020-12-14 15:50:55 +11:00
2021-11-10 13:48:13 +01:00
2021-06-03 13:22:06 +10:00
2021-01-19 10:20:29 +11:00
2021-11-01 19:36:11 -04:00
2021-11-01 19:36:11 -04:00
2021-11-01 19:36:11 -04:00
2021-05-02 17:24:51 +02:00
2021-05-02 17:24:51 +02:00
2021-06-03 13:22:06 +10:00
2022-01-28 14:29:46 +00:00
2021-11-29 21:00:08 +01:00
2021-05-02 17:24:51 +02:00
2021-09-30 13:44:08 +01:00
2021-07-09 10:55:11 +10:00
2022-01-12 11:28:26 +01:00
2022-01-04 07:55:34 +01:00
2020-08-21 06:18:24 -04:00
2021-05-02 17:24:51 +02:00
2021-07-29 10:59:49 +10:00