aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2022-12-12 20:01:23 +0200
committerEli Zaretskii2022-12-12 20:01:23 +0200
commit58b8ed8b55cd3c864823c6d2fbfdd12bcfe43247 (patch)
tree5d4897413b27d6bc9d94b03a1a6176dbba369ba5 /src
parent40c23c11e884bd14c9340a4853ab5db02901fe65 (diff)
downloademacs-58b8ed8b55cd3c864823c6d2fbfdd12bcfe43247.tar.gz
emacs-58b8ed8b55cd3c864823c6d2fbfdd12bcfe43247.zip
; Avoid compilation warning on MS-Windows
* src/timefns.c (sys_clock): Declare, to avoid compilation warning.
Diffstat (limited to 'src')
-rw-r--r--src/timefns.c4
1 files changed, 4 insertions, 0 deletions
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 <https://www.gnu.org/licenses/>. */
40#include <stdio.h> 40#include <stdio.h>
41#include <stdlib.h> 41#include <stdlib.h>
42 42
43#ifdef WINDOWSNT
44extern clock_t sys_clock (void);
45#endif
46
43#ifdef HAVE_TIMEZONE_T 47#ifdef HAVE_TIMEZONE_T
44# include <sys/param.h> 48# include <sys/param.h>
45# if defined __NetBSD_Version__ && __NetBSD_Version__ < 700000000 49# if defined __NetBSD_Version__ && __NetBSD_Version__ < 700000000