* systime.h (make_timeval): Declare as 'const'.
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 27 Apr 2013 15:34:28 +0000 (08:34 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 27 Apr 2013 15:34:28 +0000 (08:34 -0700)
src/ChangeLog
src/systime.h

index d649c1b..b7fd539 100644 (file)
@@ -1,3 +1,7 @@
+2013-04-27  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * systime.h (make_timeval): Declare as 'const'.
+
 2013-04-27  Kenichi Handa  <handa@gnu.org>
 
        * font.c (font_open_entity): Always open a font of manageable
index da495b9..c3bc00c 100644 (file)
@@ -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 *);