emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r112405: * systime.h (make_timeval):


From: Paul Eggert
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r112405: * systime.h (make_timeval): Declare as 'const'.
Date: Sat, 27 Apr 2013 08:34:28 -0700
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 112405
committer: Paul Eggert <address@hidden>
branch nick: trunk
timestamp: Sat 2013-04-27 08:34:28 -0700
message:
  * systime.h (make_timeval): Declare as 'const'.
modified:
  src/ChangeLog
  src/systime.h
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2013-04-27 13:34:02 +0000
+++ b/src/ChangeLog     2013-04-27 15:34:28 +0000
@@ -1,3 +1,7 @@
+2013-04-27  Paul Eggert  <address@hidden>
+
+       * systime.h (make_timeval): Declare as 'const'.
+
 2013-04-27  Kenichi Handa  <address@hidden>
 
        * font.c (font_open_entity): Always open a font of manageable

=== modified file 'src/systime.h'
--- a/src/systime.h     2013-03-24 12:59:45 +0000
+++ b/src/systime.h     2013-04-27 15:34:28 +0000
@@ -143,7 +143,7 @@
 
 /* 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 *);


reply via email to

[Prev in Thread] Current Thread [Next in Thread]