aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorPaul Eggert2012-04-15 18:12:46 -0700
committerPaul Eggert2012-04-15 18:12:46 -0700
commitf7752e67381d84cf8c76227b4112d72122b86d98 (patch)
treec4f7d94bda6b18b543ef2f223711981010a7d1b2 /lib-src
parent8dcd9adf660cbe463a3e56707f5c15d8f34b2f87 (diff)
parenta041960a7ca40a5af684efb3e859edd9daae907d (diff)
downloademacs-f7752e67381d84cf8c76227b4112d72122b86d98.tar.gz
emacs-f7752e67381d84cf8c76227b4112d72122b86d98.zip
Merge from trunk.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/ChangeLog9
-rw-r--r--lib-src/update-game-score.c5
2 files changed, 9 insertions, 5 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index 99df8d949d5..55e76c0b008 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,10 +1,17 @@
12012-04-14 Paul Eggert <eggert@cs.ucla.edu> 12012-04-16 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 configure: new option --enable-gcc-warnings (Bug#11207) 3 configure: new option --enable-gcc-warnings (Bug#11207)
4 * Makefile.in (C_WARNINGS_SWITCH): Remove. 4 * Makefile.in (C_WARNINGS_SWITCH): Remove.
5 (WARN_CFLAGS, WERROR_CFLAGS): New macros. 5 (WARN_CFLAGS, WERROR_CFLAGS): New macros.
6 (BASE_CFLAGS): Use new macros rather than old. 6 (BASE_CFLAGS): Use new macros rather than old.
7 7
82012-04-16 Paul Eggert <eggert@cs.ucla.edu>
9
10 Assume less-ancient POSIX support.
11 * update-game-score.c: Include <getopt.h> rather than rolling our
12 own decls for optarg, optind, opterr. See
13 <http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00720.html>.
14
82012-04-14 Juanma Barranquero <lekktu@gmail.com> 152012-04-14 Juanma Barranquero <lekktu@gmail.com>
9 * emacsclient.c (decode_options) [WINDOWSNT]: 16 * emacsclient.c (decode_options) [WINDOWSNT]:
10 Call ttyname instead of passing its address (typo in 2011-12-04T17:13:01Z!lekktu@gmail.com). 17 Call ttyname instead of passing its address (typo in 2011-12-04T17:13:01Z!lekktu@gmail.com).
diff --git a/lib-src/update-game-score.c b/lib-src/update-game-score.c
index a32bd6d8d78..e0c940510be 100644
--- a/lib-src/update-game-score.c
+++ b/lib-src/update-game-score.c
@@ -46,10 +46,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
46#include <fcntl.h> 46#include <fcntl.h>
47#endif 47#endif
48#include <sys/stat.h> 48#include <sys/stat.h>
49 49#include <getopt.h>
50/* Needed for SunOS4, for instance. */
51extern char *optarg;
52extern int optind, opterr;
53 50
54static int usage (int err) NO_RETURN; 51static int usage (int err) NO_RETURN;
55 52