summaryrefslogtreecommitdiff
path: root/test/src/emacs-module-resources/mod-test.c
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2024-05-12 14:55:55 +0200
committerMattias EngdegÄrd <mattiase@acm.org>2024-05-12 15:04:47 +0200
commit9365feadccf1e28438e41c4ce8bf60ab8e4e1def (patch)
tree1bd6f459468fb5ccb5c80beac8a86f62fe1affc6 /test/src/emacs-module-resources/mod-test.c
parent38091e43bee991920db81263fe56da444a123fae (diff)
downloademacs-9365feadccf1e28438e41c4ce8bf60ab8e4e1def.tar.gz
emacs-9365feadccf1e28438e41c4ce8bf60ab8e4e1def.tar.bz2
emacs-9365feadccf1e28438e41c4ce8bf60ab8e4e1def.zip
Silence some macOS build warnings
* 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.
Diffstat (limited to 'test/src/emacs-module-resources/mod-test.c')
-rw-r--r--test/src/emacs-module-resources/mod-test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/src/emacs-module-resources/mod-test.c b/test/src/emacs-module-resources/mod-test.c
index 3aafae1b896..3abe2a4122b 100644
--- a/test/src/emacs-module-resources/mod-test.c
+++ b/test/src/emacs-module-resources/mod-test.c
@@ -46,6 +46,7 @@ uintptr_t _beginthread (void (__cdecl *) (void *), unsigned, void *);
#include <gmp.h>
#include <emacs-module.h>
+extern int plugin_is_GPL_compatible;
int plugin_is_GPL_compatible;
#if INTPTR_MAX <= 0