* src/image.c (native_image_type): Declare static.
* src/keyboard.c (lispy_function_keys): Declare static on NS.
* src/nsmenu.m (context_menu_value):
* src/nsterm.m (ns_frame_parm_handlers): Move extern declarations...
* src/nsterm.h: ...here.
* test/src/emacs-module-resources/mod-test.c: Add extern declaration.
(cherry picked from commit
9365feadccf1e28438e41c4ce8bf60ab8e4e1def)
};
#if HAVE_NATIVE_IMAGE_API
-struct image_type native_image_type =
+static struct image_type native_image_type =
{ SYMBOL_INDEX (Qnative_image), native_image_p, native_image_load,
image_clear_image };
#endif
/* You'll notice that this table is arranged to be conveniently
indexed by X Windows keysym values. */
+#ifdef HAVE_NS
+/* FIXME: Why are we using X11 keysym values for NS? */
+static
+#endif
const char *const lispy_function_keys[] =
{
/* X Keysym value */
#endif
-extern long context_menu_value;
EmacsMenu *svcsMenu;
/* Nonzero means a menu is currently active. */
static int popup_activated_flag;
/* This is a chain of structures for all the NS displays currently in use. */
extern struct ns_display_info *x_display_list;
+extern long context_menu_value;
+
struct ns_output
{
#ifdef __OBJC__
extern double ns_frame_scale_factor (struct frame *);
+extern frame_parm_handler ns_frame_parm_handlers[];
+
#ifdef NS_IMPL_GNUSTEP
extern char gnustep_base_version[]; /* version tracking */
#endif
redisplay interface. In addition, many of the ns_ methods have
code that is shared with all terms, indicating need for further
refactoring. */
-extern frame_parm_handler ns_frame_parm_handlers[];
static struct redisplay_interface ns_redisplay_interface =
{
ns_frame_parm_handlers,
#include <gmp.h>
#include <emacs-module.h>
+extern int plugin_is_GPL_compatible;
int plugin_is_GPL_compatible;
#if INTPTR_MAX <= 0