diff options
| author | Eli Zaretskii | 2022-12-12 20:01:23 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2022-12-12 20:01:23 +0200 |
| commit | 58b8ed8b55cd3c864823c6d2fbfdd12bcfe43247 (patch) | |
| tree | 5d4897413b27d6bc9d94b03a1a6176dbba369ba5 /src | |
| parent | 40c23c11e884bd14c9340a4853ab5db02901fe65 (diff) | |
| download | emacs-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.c | 4 |
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 | ||
| 44 | extern 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 |