1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-21 10:24:55 +00:00

* xfns.c (USG): Use the kludged USG macro, to pacify gcc.

This commit is contained in:
Paul Eggert 2011-04-15 19:58:53 -07:00
parent 8a94ea3340
commit dc5ddd8531
2 changed files with 3 additions and 0 deletions

View File

@ -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.

View File

@ -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