Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
dc5ddd85
Commit
dc5ddd85
authored
Apr 15, 2011
by
Paul Eggert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* xfns.c (USG): Use the kludged USG macro, to pacify gcc.
parent
8a94ea33
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
src/ChangeLog
src/ChangeLog
+1
-0
src/xfns.c
src/xfns.c
+2
-0
No files found.
src/ChangeLog
View file @
dc5ddd85
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
* xfns.c (free_frame_menubar, atof): Remove duplicate decls.
* xfns.c (free_frame_menubar, atof): Remove duplicate decls.
(x_window): Rename locals to avoid shadowing.
(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.
* xterm.c (x_alloc_nearest_color_for_widget): Remove; unused.
(x_term_init): Remove local to avoid shadowing.
(x_term_init): Remove local to avoid shadowing.
...
...
src/xfns.c
View file @
dc5ddd85
...
@@ -83,6 +83,8 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
...
@@ -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 */
#undef USG
/* ####KLUDGE for Solaris 2.2 and up */
#include <X11/Xos.h>
#include <X11/Xos.h>
#define USG
#define USG
#ifdef USG
/* Pacify gcc -Wunused-macros. */
#endif
#else
#else
#include <X11/Xos.h>
#include <X11/Xos.h>
#endif
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment