aboutsummaryrefslogtreecommitdiffstats
path: root/oldXMenu
diff options
context:
space:
mode:
authorStephen Berman2013-06-14 22:07:55 +0200
committerStephen Berman2013-06-14 22:07:55 +0200
commitbd358779861f265a7acff31ead40172735af693e (patch)
tree345217a9889dbd29b09bdc80a94265c17719d41f /oldXMenu
parent2a97b47f0878cbda86cb6ba0e7e744924810b70e (diff)
parentf7394b12358ae453a0c8b85fc307afc1b740010d (diff)
downloademacs-bd358779861f265a7acff31ead40172735af693e.tar.gz
emacs-bd358779861f265a7acff31ead40172735af693e.zip
Merge from trunk.
Diffstat (limited to 'oldXMenu')
-rw-r--r--oldXMenu/Activate.c3
-rw-r--r--oldXMenu/AddPane.c1
-rw-r--r--oldXMenu/AddSel.c1
-rw-r--r--oldXMenu/ChangeLog17
-rw-r--r--oldXMenu/ChgPane.c2
-rw-r--r--oldXMenu/ChgSel.c2
-rw-r--r--oldXMenu/Create.c3
-rw-r--r--oldXMenu/FindSel.c2
-rw-r--r--oldXMenu/InsPane.c1
-rw-r--r--oldXMenu/InsSel.c1
-rw-r--r--oldXMenu/Internal.c3
-rw-r--r--oldXMenu/Makefile.in8
-rw-r--r--oldXMenu/XLookAssoc.c10
-rw-r--r--oldXMenu/XMakeAssoc.c1
-rw-r--r--oldXMenu/XMenuInt.h2
-rw-r--r--oldXMenu/insque.c2
16 files changed, 31 insertions, 28 deletions
diff --git a/oldXMenu/Activate.c b/oldXMenu/Activate.c
index d4683da87f2..8f1b5484061 100644
--- a/oldXMenu/Activate.c
+++ b/oldXMenu/Activate.c
@@ -3,7 +3,7 @@
3#include "copyright.h" 3#include "copyright.h"
4 4
5/* 5/*
6Copyright (C) 2001-2012 Free Software Foundation, Inc. 6Copyright (C) 2001-2013 Free Software Foundation, Inc.
7 7
8This program is free software: you can redistribute it and/or modify 8This program is free software: you can redistribute it and/or modify
9it under the terms of the GNU General Public License as published by 9it under the terms of the GNU General Public License as published by
@@ -95,7 +95,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
95 * 95 *
96 */ 96 */
97 97
98#include <config.h>
99#include "XMenuInt.h" 98#include "XMenuInt.h"
100#include <X11/keysym.h> 99#include <X11/keysym.h>
101 100
diff --git a/oldXMenu/AddPane.c b/oldXMenu/AddPane.c
index 36b57fe8da6..2c8dda8cd11 100644
--- a/oldXMenu/AddPane.c
+++ b/oldXMenu/AddPane.c
@@ -12,7 +12,6 @@
12 * 12 *
13 */ 13 */
14 14
15#include <config.h>
16#include "XMenuInt.h" 15#include "XMenuInt.h"
17 16
18int 17int
diff --git a/oldXMenu/AddSel.c b/oldXMenu/AddSel.c
index 2b1ff3d6c89..07eb1fed15b 100644
--- a/oldXMenu/AddSel.c
+++ b/oldXMenu/AddSel.c
@@ -13,7 +13,6 @@
13 * 13 *
14 */ 14 */
15 15
16#include <config.h>
17#include "XMenuInt.h" 16#include "XMenuInt.h"
18 17
19int 18int
diff --git a/oldXMenu/ChangeLog b/oldXMenu/ChangeLog
index 09859d0d630..8f2951700e8 100644
--- a/oldXMenu/ChangeLog
+++ b/oldXMenu/ChangeLog
@@ -1,3 +1,18 @@
12012-12-04 Paul Eggert <eggert@cs.ucla.edu>
2
3 Include <config.h> uniformly in oldXMenu sources.
4 * Activate.c, AddPane.c, AddSel.c, ChgPane.c, ChgSel.c, Create.c:
5 * InsPane.c, InsSel.c, Internal.c, XMakeAssoc.c:
6 Do not include <config.h>, since XMenuInt.h does that now.
7 * XLookAssoc.c, XMenuInt.h: Include <config.h>.
8 This avoids a build failure when configuring on Fedora 17
9 --with-x-toolkit=no, reported by Dmitry Andropov in
10 <http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00078.html>.
11
122012-10-06 Ulrich Müller <ulm@gentoo.org>
13
14 * Makefile.in (AR, ARFLAGS): Get values from configure.
15
12012-06-26 Paul Eggert <eggert@cs.ucla.edu> 162012-06-26 Paul Eggert <eggert@cs.ucla.edu>
2 17
3 * Makefile.in (ALL_CFLAGS): Add -I../lib -I${srcdir}/../lib. 18 * Makefile.in (ALL_CFLAGS): Add -I../lib -I${srcdir}/../lib.
@@ -634,7 +649,7 @@
634;; coding: utf-8 649;; coding: utf-8
635;; End: 650;; End:
636 651
637 Copyright (C) 1993-1999, 2001-2012 Free Software Foundation, Inc. 652 Copyright (C) 1993-1999, 2001-2013 Free Software Foundation, Inc.
638 653
639 This file is part of GNU Emacs. 654 This file is part of GNU Emacs.
640 655
diff --git a/oldXMenu/ChgPane.c b/oldXMenu/ChgPane.c
index 38b63820161..d2977b73faf 100644
--- a/oldXMenu/ChgPane.c
+++ b/oldXMenu/ChgPane.c
@@ -13,7 +13,6 @@
13 * 13 *
14 */ 14 */
15 15
16#include <config.h>
17#include "XMenuInt.h" 16#include "XMenuInt.h"
18 17
19int 18int
@@ -65,4 +64,3 @@ XMenuChangePane(register XMenu *menu, register int p_num, char *label)
65 _XMErrorCode = XME_NO_ERROR; 64 _XMErrorCode = XME_NO_ERROR;
66 return(p_num); 65 return(p_num);
67} 66}
68
diff --git a/oldXMenu/ChgSel.c b/oldXMenu/ChgSel.c
index dcefb6c3a5d..d24e61f56d5 100644
--- a/oldXMenu/ChgSel.c
+++ b/oldXMenu/ChgSel.c
@@ -13,7 +13,6 @@
13 * 13 *
14 */ 14 */
15 15
16#include <config.h>
17#include "XMenuInt.h" 16#include "XMenuInt.h"
18 17
19int 18int
@@ -87,4 +86,3 @@ XMenuChangeSelection(Display *display, register XMenu *menu, register int p_num,
87 _XMErrorCode = XME_NO_ERROR; 86 _XMErrorCode = XME_NO_ERROR;
88 return(s_num); 87 return(s_num);
89} 88}
90
diff --git a/oldXMenu/Create.c b/oldXMenu/Create.c
index 1d21e534300..a72f12e5b03 100644
--- a/oldXMenu/Create.c
+++ b/oldXMenu/Create.c
@@ -3,7 +3,7 @@
3#include "copyright.h" 3#include "copyright.h"
4 4
5/* 5/*
6Copyright (C) 1993-1994, 2001-2012 Free Software Foundation, Inc. 6Copyright (C) 1993-1994, 2001-2013 Free Software Foundation, Inc.
7 7
8This program is free software: you can redistribute it and/or modify 8This program is free software: you can redistribute it and/or modify
9it under the terms of the GNU General Public License as published by 9it under the terms of the GNU General Public License as published by
@@ -29,7 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
29 * 29 *
30 */ 30 */
31 31
32#include <config.h>
33#include "XMenuInt.h" 32#include "XMenuInt.h"
34#include <stdlib.h> 33#include <stdlib.h>
35 34
diff --git a/oldXMenu/FindSel.c b/oldXMenu/FindSel.c
index 3c208cb3da5..c4d871aaefa 100644
--- a/oldXMenu/FindSel.c
+++ b/oldXMenu/FindSel.c
@@ -3,7 +3,7 @@
3#include "copyright.h" 3#include "copyright.h"
4 4
5/* 5/*
6Copyright (C) 2001-2012 Free Software Foundation, Inc. 6Copyright (C) 2001-2013 Free Software Foundation, Inc.
7 7
8This program is free software: you can redistribute it and/or modify 8This program is free software: you can redistribute it and/or modify
9it under the terms of the GNU General Public License as published by 9it under the terms of the GNU General Public License as published by
diff --git a/oldXMenu/InsPane.c b/oldXMenu/InsPane.c
index bdbadbf1226..d8470f3a5bf 100644
--- a/oldXMenu/InsPane.c
+++ b/oldXMenu/InsPane.c
@@ -14,7 +14,6 @@
14 * 14 *
15 */ 15 */
16 16
17#include <config.h>
18#include "XMenuInt.h" 17#include "XMenuInt.h"
19 18
20int 19int
diff --git a/oldXMenu/InsSel.c b/oldXMenu/InsSel.c
index 5db285f6408..66f4968197d 100644
--- a/oldXMenu/InsSel.c
+++ b/oldXMenu/InsSel.c
@@ -13,7 +13,6 @@
13 * 13 *
14 */ 14 */
15 15
16#include <config.h>
17#include "XMenuInt.h" 16#include "XMenuInt.h"
18 17
19int 18int
diff --git a/oldXMenu/Internal.c b/oldXMenu/Internal.c
index dc8dc0120ef..67651c276c1 100644
--- a/oldXMenu/Internal.c
+++ b/oldXMenu/Internal.c
@@ -3,7 +3,7 @@
3#include "copyright.h" 3#include "copyright.h"
4 4
5/* 5/*
6Copyright (C) 1993, 1996, 2001-2012 Free Software Foundation, Inc. 6Copyright (C) 1993, 1996, 2001-2013 Free Software Foundation, Inc.
7 7
8This program is free software: you can redistribute it and/or modify 8This program is free software: you can redistribute it and/or modify
9it under the terms of the GNU General Public License as published by 9it under the terms of the GNU General Public License as published by
@@ -29,7 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
29 * 29 *
30 */ 30 */
31 31
32#include <config.h>
33#include "XMenuInt.h" 32#include "XMenuInt.h"
34 33
35/* 34/*
diff --git a/oldXMenu/Makefile.in b/oldXMenu/Makefile.in
index 00b3d8e3c69..f4fda56e28d 100644
--- a/oldXMenu/Makefile.in
+++ b/oldXMenu/Makefile.in
@@ -15,7 +15,7 @@
15## without express or implied warranty. 15## without express or implied warranty.
16 16
17 17
18## Copyright (C) 2001-2012 Free Software Foundation, Inc. 18## Copyright (C) 2001-2013 Free Software Foundation, Inc.
19 19
20## This program is free software: you can redistribute it and/or modify 20## This program is free software: you can redistribute it and/or modify
21## it under the terms of the GNU General Public License as published by 21## it under the terms of the GNU General Public License as published by
@@ -57,8 +57,8 @@ CFLAGS=@CFLAGS@
57TAGS = etags 57TAGS = etags
58RM = rm -f 58RM = rm -f
59RANLIB = @RANLIB@ 59RANLIB = @RANLIB@
60# Solaris 2.1 ar doesn't accept the 'l' option. 60AR = @AR@
61AR = ar cq 61ARFLAGS = @ARFLAGS@
62 62
63OBJS = Activate.o \ 63OBJS = Activate.o \
64 AddPane.o \ 64 AddPane.o \
@@ -98,7 +98,7 @@ ALL_CFLAGS=$(C_SWITCH_SYSTEM) $(C_SWITCH_MACHINE) \
98 98
99libXMenu11.a: $(OBJS) $(EXTRA) 99libXMenu11.a: $(OBJS) $(EXTRA)
100 $(RM) $@ 100 $(RM) $@
101 $(AR) $@ $(OBJS) $(EXTRA) 101 $(AR) $(ARFLAGS) $@ $(OBJS) $(EXTRA)
102 $(RANLIB) $@ 102 $(RANLIB) $@
103 103
104Activate.o: Activate.c XMenuInt.h XMenu.h X10.h 104Activate.o: Activate.c XMenuInt.h XMenu.h X10.h
diff --git a/oldXMenu/XLookAssoc.c b/oldXMenu/XLookAssoc.c
index e287ebbaa72..fad960d7a4c 100644
--- a/oldXMenu/XLookAssoc.c
+++ b/oldXMenu/XLookAssoc.c
@@ -2,7 +2,7 @@
2 2
3#include "copyright.h" 3#include "copyright.h"
4 4
5 5#include <config.h>
6#include <X11/Xlib.h> 6#include <X11/Xlib.h>
7#include <X11/Xresource.h> 7#include <X11/Xresource.h>
8#include "X10.h" 8#include "X10.h"
@@ -18,10 +18,9 @@
18 * in the table the routine will return a NULL pointer. All XId's are relative 18 * in the table the routine will return a NULL pointer. All XId's are relative
19 * to the currently active Display. 19 * to the currently active Display.
20 */ 20 */
21caddr_t XLookUpAssoc(register Display *dpy, register XAssocTable *table, register XID x_id) 21caddr_t XLookUpAssoc(Display *dpy,
22 22 XAssocTable *table, /* XAssocTable to search in. */
23 /* XAssocTable to search in. */ 23 XID x_id) /* XId to search for. */
24 /* XId to search for. */
25{ 24{
26 int hash; 25 int hash;
27 register XAssoc *bucket; 26 register XAssoc *bucket;
@@ -55,4 +54,3 @@ caddr_t XLookUpAssoc(register Display *dpy, register XAssocTable *table, registe
55 /* It is apparently not in the table. */ 54 /* It is apparently not in the table. */
56 return(NULL); 55 return(NULL);
57} 56}
58
diff --git a/oldXMenu/XMakeAssoc.c b/oldXMenu/XMakeAssoc.c
index 143b2641112..9bbde2cf94d 100644
--- a/oldXMenu/XMakeAssoc.c
+++ b/oldXMenu/XMakeAssoc.c
@@ -3,7 +3,6 @@
3#include "copyright.h" 3#include "copyright.h"
4 4
5 5
6#include <config.h>
7#include "XMenuInt.h" 6#include "XMenuInt.h"
8#include <X11/Xresource.h> 7#include <X11/Xresource.h>
9#include <errno.h> 8#include <errno.h>
diff --git a/oldXMenu/XMenuInt.h b/oldXMenu/XMenuInt.h
index 721652c9539..1edef30bc5f 100644
--- a/oldXMenu/XMenuInt.h
+++ b/oldXMenu/XMenuInt.h
@@ -17,6 +17,8 @@
17#ifndef _XMenuInternal_h_ 17#ifndef _XMenuInternal_h_
18#define _XMenuInternal_h_ 18#define _XMenuInternal_h_
19 19
20#include <config.h>
21
20/* Avoid warnings about redefining NULL by including <stdio.h> first; 22/* Avoid warnings about redefining NULL by including <stdio.h> first;
21 the other file which wants to define it (<stddef.h> on Ultrix 23 the other file which wants to define it (<stddef.h> on Ultrix
22 systems) can deal if NULL is already defined, but <stdio.h> can't. */ 24 systems) can deal if NULL is already defined, but <stdio.h> can't. */
diff --git a/oldXMenu/insque.c b/oldXMenu/insque.c
index 0e6904ea9bf..c31bd814089 100644
--- a/oldXMenu/insque.c
+++ b/oldXMenu/insque.c
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (C) 1993-1998, 2001-2012 Free Software Foundation, Inc. 2Copyright (C) 1993-1998, 2001-2013 Free Software Foundation, Inc.
3 3
4This program is free software: you can redistribute it and/or modify 4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by 5it under the terms of the GNU General Public License as published by