diff options
Diffstat (limited to 'src/xterm.c')
| -rw-r--r-- | src/xterm.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/xterm.c b/src/xterm.c index 1be279d0206..e6bf82ab5a5 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -22,11 +22,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 22 | /* Xt features made by Fred Pierresteguy. */ | 22 | /* Xt features made by Fred Pierresteguy. */ |
| 23 | 23 | ||
| 24 | #include <config.h> | 24 | #include <config.h> |
| 25 | |||
| 26 | /* On 4.3 these lose if they come after xterm.h. */ | ||
| 27 | /* Putting these at the beginning seems to be standard for other .c files. */ | ||
| 28 | #include <signal.h> | 25 | #include <signal.h> |
| 29 | |||
| 30 | #include <stdio.h> | 26 | #include <stdio.h> |
| 31 | #include <setjmp.h> | 27 | #include <setjmp.h> |
| 32 | 28 | ||
| @@ -107,11 +103,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 107 | #include "../lwlib/xlwmenu.h" | 103 | #include "../lwlib/xlwmenu.h" |
| 108 | #endif | 104 | #endif |
| 109 | 105 | ||
| 110 | #if defined (USE_X_TOOLKIT) || defined (USE_GTK) | ||
| 111 | |||
| 112 | extern void free_frame_menubar (struct frame *); | ||
| 113 | #endif | ||
| 114 | |||
| 115 | #ifdef USE_X_TOOLKIT | 106 | #ifdef USE_X_TOOLKIT |
| 116 | #if !defined(NO_EDITRES) | 107 | #if !defined(NO_EDITRES) |
| 117 | #define HACK_EDITRES | 108 | #define HACK_EDITRES |
| @@ -4380,7 +4371,7 @@ xaw_scroll_callback (Widget widget, XtPointer client_data, XtPointer call_data) | |||
| 4380 | static void | 4371 | static void |
| 4381 | x_create_toolkit_scroll_bar (struct frame *f, struct scroll_bar *bar) | 4372 | x_create_toolkit_scroll_bar (struct frame *f, struct scroll_bar *bar) |
| 4382 | { | 4373 | { |
| 4383 | char *scroll_bar_name = SCROLL_BAR_NAME; | 4374 | const char *scroll_bar_name = SCROLL_BAR_NAME; |
| 4384 | 4375 | ||
| 4385 | BLOCK_INPUT; | 4376 | BLOCK_INPUT; |
| 4386 | xg_create_scroll_bar (f, bar, G_CALLBACK (xg_scroll_callback), | 4377 | xg_create_scroll_bar (f, bar, G_CALLBACK (xg_scroll_callback), |