projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a94ea3
)
* xfns.c (USG): Use the kludged USG macro, to pacify gcc.
author
Paul Eggert
<eggert@cs.ucla.edu>
Sat, 16 Apr 2011 02:58:53 +0000
(19:58 -0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Sat, 16 Apr 2011 02:58:53 +0000
(19:58 -0700)
src/ChangeLog
patch
|
blob
|
history
src/xfns.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index fe12999e45537692c6f229611a40010a0d37f845..c393527d39cc24abbea0631a75315b7a3da5b49a 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-2,6
+2,7
@@
* xfns.c (free_frame_menubar, atof): Remove duplicate decls.
(x_window): Rename locals to avoid shadowing.
+ (USG): Use the kludged USG macro, to pacify gcc.
* xterm.c (x_alloc_nearest_color_for_widget): Remove; unused.
(x_term_init): Remove local to avoid shadowing.
diff --git
a/src/xfns.c
b/src/xfns.c
index 3d17f22be6362071392e4f10924c71a377fa72aa..1489cbf043ef3ef1c49f42ecf636d978e17ffc03 100644
(file)
--- a/
src/xfns.c
+++ b/
src/xfns.c
@@
-83,6
+83,8
@@
along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#undef USG /* ####KLUDGE for Solaris 2.2 and up */
#include <X11/Xos.h>
#define USG
+#ifdef USG /* Pacify gcc -Wunused-macros. */
+#endif
#else
#include <X11/Xos.h>
#endif