projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40c23c1
)
; Avoid compilation warning on MS-Windows
author
Eli Zaretskii
<eliz@gnu.org>
Mon, 12 Dec 2022 18:01:23 +0000
(20:01 +0200)
committer
Eli Zaretskii
<eliz@gnu.org>
Mon, 12 Dec 2022 18:01:23 +0000
(20:01 +0200)
* src/timefns.c (sys_clock): Declare, to avoid compilation
warning.
src/timefns.c
patch
|
blob
|
history
diff --git
a/src/timefns.c
b/src/timefns.c
index 9beec1ce384afde11a3cc344ef61cb0484a3bac9..dcc6403fd9d678c653a9e9a30e54d1dea83c50f2 100644
(file)
--- a/
src/timefns.c
+++ b/
src/timefns.c
@@
-40,6
+40,10
@@
along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
#include <stdio.h>
#include <stdlib.h>
+#ifdef WINDOWSNT
+extern clock_t sys_clock (void);
+#endif
+
#ifdef HAVE_TIMEZONE_T
# include <sys/param.h>
# if defined __NetBSD_Version__ && __NetBSD_Version__ < 700000000