From: Eli Zaretskii Date: Mon, 12 Dec 2022 18:01:23 +0000 (+0200) Subject: ; Avoid compilation warning on MS-Windows X-Git-Tag: emacs-29.0.90~1220 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=58b8ed8b55c;p=emacs.git ; Avoid compilation warning on MS-Windows * src/timefns.c (sys_clock): Declare, to avoid compilation warning. --- 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