diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/image.c | 2 | ||||
| -rw-r--r-- | src/keyboard.c | 4 | ||||
| -rw-r--r-- | src/nsmenu.m | 1 | ||||
| -rw-r--r-- | src/nsterm.h | 4 | ||||
| -rw-r--r-- | src/nsterm.m | 1 |
5 files changed, 9 insertions, 3 deletions
diff --git a/src/image.c b/src/image.c index e93fc3183af..3138ef25a63 100644 --- a/src/image.c +++ b/src/image.c | |||
| @@ -12744,7 +12744,7 @@ static struct image_type const image_types[] = | |||
| 12744 | }; | 12744 | }; |
| 12745 | 12745 | ||
| 12746 | #if HAVE_NATIVE_IMAGE_API | 12746 | #if HAVE_NATIVE_IMAGE_API |
| 12747 | struct image_type native_image_type = | 12747 | static struct image_type native_image_type = |
| 12748 | { SYMBOL_INDEX (Qnative_image), native_image_p, native_image_load, | 12748 | { SYMBOL_INDEX (Qnative_image), native_image_p, native_image_load, |
| 12749 | image_clear_image }; | 12749 | image_clear_image }; |
| 12750 | #endif | 12750 | #endif |
diff --git a/src/keyboard.c b/src/keyboard.c index dff86bbca13..d5892115e4b 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -5396,6 +5396,10 @@ static const char *const lispy_kana_keys[] = | |||
| 5396 | 5396 | ||
| 5397 | /* You'll notice that this table is arranged to be conveniently | 5397 | /* You'll notice that this table is arranged to be conveniently |
| 5398 | indexed by X Windows keysym values. */ | 5398 | indexed by X Windows keysym values. */ |
| 5399 | #ifdef HAVE_NS | ||
| 5400 | /* FIXME: Why are we using X11 keysym values for NS? */ | ||
| 5401 | static | ||
| 5402 | #endif | ||
| 5399 | const char *const lispy_function_keys[] = | 5403 | const char *const lispy_function_keys[] = |
| 5400 | { | 5404 | { |
| 5401 | /* X Keysym value */ | 5405 | /* X Keysym value */ |
diff --git a/src/nsmenu.m b/src/nsmenu.m index 0d21f7d03d3..46ee9e1c3fc 100644 --- a/src/nsmenu.m +++ b/src/nsmenu.m | |||
| @@ -47,7 +47,6 @@ Carbon version by Yamamoto Mitsuharu. */ | |||
| 47 | #endif | 47 | #endif |
| 48 | 48 | ||
| 49 | 49 | ||
| 50 | extern long context_menu_value; | ||
| 51 | EmacsMenu *svcsMenu; | 50 | EmacsMenu *svcsMenu; |
| 52 | /* Nonzero means a menu is currently active. */ | 51 | /* Nonzero means a menu is currently active. */ |
| 53 | static int popup_activated_flag; | 52 | static int popup_activated_flag; |
diff --git a/src/nsterm.h b/src/nsterm.h index ae940ec5b4f..3a713f8e8c9 100644 --- a/src/nsterm.h +++ b/src/nsterm.h | |||
| @@ -921,6 +921,8 @@ struct ns_display_info | |||
| 921 | /* This is a chain of structures for all the NS displays currently in use. */ | 921 | /* This is a chain of structures for all the NS displays currently in use. */ |
| 922 | extern struct ns_display_info *x_display_list; | 922 | extern struct ns_display_info *x_display_list; |
| 923 | 923 | ||
| 924 | extern long context_menu_value; | ||
| 925 | |||
| 924 | struct ns_output | 926 | struct ns_output |
| 925 | { | 927 | { |
| 926 | #ifdef __OBJC__ | 928 | #ifdef __OBJC__ |
| @@ -1269,6 +1271,8 @@ extern void ns_finish_events (void); | |||
| 1269 | 1271 | ||
| 1270 | extern double ns_frame_scale_factor (struct frame *); | 1272 | extern double ns_frame_scale_factor (struct frame *); |
| 1271 | 1273 | ||
| 1274 | extern frame_parm_handler ns_frame_parm_handlers[]; | ||
| 1275 | |||
| 1272 | #ifdef NS_IMPL_GNUSTEP | 1276 | #ifdef NS_IMPL_GNUSTEP |
| 1273 | extern char gnustep_base_version[]; /* version tracking */ | 1277 | extern char gnustep_base_version[]; /* version tracking */ |
| 1274 | #endif | 1278 | #endif |
diff --git a/src/nsterm.m b/src/nsterm.m index f26cdb17903..794630de1c1 100644 --- a/src/nsterm.m +++ b/src/nsterm.m | |||
| @@ -5438,7 +5438,6 @@ ns_flush_display (struct frame *f) | |||
| 5438 | redisplay interface. In addition, many of the ns_ methods have | 5438 | redisplay interface. In addition, many of the ns_ methods have |
| 5439 | code that is shared with all terms, indicating need for further | 5439 | code that is shared with all terms, indicating need for further |
| 5440 | refactoring. */ | 5440 | refactoring. */ |
| 5441 | extern frame_parm_handler ns_frame_parm_handlers[]; | ||
| 5442 | static struct redisplay_interface ns_redisplay_interface = | 5441 | static struct redisplay_interface ns_redisplay_interface = |
| 5443 | { | 5442 | { |
| 5444 | ns_frame_parm_handlers, | 5443 | ns_frame_parm_handlers, |