Add GCC-style 'const' attribute to functions that can use it.
[bpt/emacs.git] / ChangeLog
index f776e33..ef14255 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,34 @@
 2012-07-09  Paul Eggert  <eggert@cs.ucla.edu>
 
+       Add GCC-style 'const' attribute to functions that can use it.
+       * configure.ac (WARN_CFLAGS): Add -Wsuggest-attribute=const.
+       (ATTRIBUTE_CONST): New macro, in config.h.
+
+2012-07-09  Juanma Barranquero  <lekktu@gmail.com>
+
+       * lib/makefile.w32-in: Rework dependencies.
+       (GNU_LIB, NT_INC, C_CTYPE_H, MS_W32_H, CONFIG_H, FILEMODE_H)
+       (FTOASTR_H, FTOASTR_C, GETOPT_INT_H, MD5_H, SHA1_H, SHA256_H)
+       (U64_H, SHA512_H): New macros.
+       (SRC): Redefine to point to src/, not current directory.
+       ($(BLD)/c-ctype.$(O), $(BLD)/c-strcasecmp.$(O))
+       ($(BLD)/c-strncasecmp.$(O), $(BLD)/dtoastr.$(O))
+       ($(BLD)/dtotimespec.$(O), $(BLD)/getopt.$(O), $(BLD)/getopt1.$(O))
+       ($(BLD)/gettime.$(O), $(BLD)/strftime.$(O), $(BLD)/time_r.$(O))
+       ($(BLD)/timespec-add.$(O), $(BLD)/timespec-sub.$(O), $(BLD)/md5.$(O))
+       ($(BLD)/sha1.$(O), $(BLD)/sha256.$(O), $(BLD)/sha512.$(O))
+       ($(BLD)/filemode.$(O)): Update dependencies.
+
+2012-07-09  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Merge from gnulib, incorporating:
+       2012-07-09 timespec: mark functions with const attributes
+
        Rename configure.in to configure.ac (Bug#11603).
        The name 'configure.in' has been obsolescent for quite some time,
        and the next release of Autoconf will generate warnings for it.
+       See commit 'v2.69-4-g560f16b' of 2012-05-06, "general: deprecate
+       'configure.in' as autoconf input" in the Autoconf git repository.
        * configure.ac: Rename from configure.in.
        * INSTALL, INSTALL.BZR, README, make-dist:
        * Makefile.in (AUTOCONF_INPUTS):