From 58b8ed8b55cd3c864823c6d2fbfdd12bcfe43247 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Mon, 12 Dec 2022 20:01:23 +0200 Subject: [PATCH] ; Avoid compilation warning on MS-Windows * src/timefns.c (sys_clock): Declare, to avoid compilation warning. --- src/timefns.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/timefns.c b/src/timefns.c index 9beec1ce384..dcc6403fd9d 100644 --- a/src/timefns.c +++ b/src/timefns.c @@ -40,6 +40,10 @@ along with GNU Emacs. If not, see . */ #include #include +#ifdef WINDOWSNT +extern clock_t sys_clock (void); +#endif + #ifdef HAVE_TIMEZONE_T # include # if defined __NetBSD_Version__ && __NetBSD_Version__ < 700000000 -- 2.39.2