From b8dd59f747ffd09a7fa4df2e36924f435ee61a90 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 27 Apr 2013 08:34:28 -0700 Subject: [PATCH] * systime.h (make_timeval): Declare as 'const'. --- src/ChangeLog | 4 ++++ src/systime.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index d649c1bcdbc..b7fd539f540 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2013-04-27 Paul Eggert + + * systime.h (make_timeval): Declare as 'const'. + 2013-04-27 Kenichi Handa * font.c (font_open_entity): Always open a font of manageable diff --git a/src/systime.h b/src/systime.h index da495b9064b..c3bc00c1479 100644 --- a/src/systime.h +++ b/src/systime.h @@ -143,7 +143,7 @@ EMACS_TIME_TO_DOUBLE (EMACS_TIME t) /* defined in sysdep.c */ extern int set_file_times (int, const char *, EMACS_TIME, EMACS_TIME); -extern struct timeval make_timeval (EMACS_TIME); +extern struct timeval make_timeval (EMACS_TIME) ATTRIBUTE_CONST; /* defined in keyboard.c */ extern void set_waiting_for_input (EMACS_TIME *); -- 2.39.2