From 06e1b6a68f892bb31bd79e1ebffedb8aba89c58a Mon Sep 17 00:00:00 2001 From: libretroadmin Date: Tue, 12 Jul 2022 03:31:42 +0200 Subject: [PATCH] Revert "Move strftime_am_pm to libretro-common rtime.c, remove duplicate" This reverts commit 99186b1056b7e71d876bb868348059d2eec98ee8. --- libretro-common/include/time/rtime.h | 5 ---- libretro-common/time/rtime.c | 30 ---------------------- menu/menu_driver.c | 26 +++++++++++++++++++ runtime_file.c | 37 ++++++++++++++++++++++++---- 4 files changed, 58 insertions(+), 40 deletions(-) diff --git a/libretro-common/include/time/rtime.h b/libretro-common/include/time/rtime.h index da02ca0d3f..7629c1eab3 100644 --- a/libretro-common/include/time/rtime.h +++ b/libretro-common/include/time/rtime.h @@ -40,11 +40,6 @@ void rtime_init(void); /* Must be called upon program termination */ void rtime_deinit(void); -/* Time format strings with AM-PM designation require special - * handling due to platform dependence */ -void strftime_am_pm(char *s, size_t len, const char* format, - const struct tm* timeptr); - /* Thread-safe wrapper for localtime() */ struct tm *rtime_localtime(const time_t *timep, struct tm *result); diff --git a/libretro-common/time/rtime.c b/libretro-common/time/rtime.c index fe56fc9ae8..d66c228fbc 100644 --- a/libretro-common/time/rtime.c +++ b/libretro-common/time/rtime.c @@ -27,13 +27,7 @@ #endif #include -#include #include