1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-05 19:31:02 -08:00

Declare Nextstep unexec functions in lisp.h

This removes compiler warnings about missing prototypes on macOS.
This commit is contained in:
Philipp Stephani 2017-05-20 16:37:42 +02:00
parent 84b28ec759
commit cf68bb4aed
2 changed files with 8 additions and 4 deletions

View file

@ -137,10 +137,6 @@ static
bool might_dump;
#endif
#if defined DARWIN_OS && !defined CANNOT_DUMP
extern void unexec_init_emacs_zone (void);
#endif
/* If true, Emacs should not attempt to use a window-specific code,
but instead should use the virtual terminal under which it was started. */
bool inhibit_window_system;

View file

@ -3887,6 +3887,14 @@ extern void get_backtrace (Lisp_Object array);
Lisp_Object backtrace_top_function (void);
extern bool let_shadows_buffer_binding_p (struct Lisp_Symbol *symbol);
/* Defined in unexmacosx.c. */
#if defined DARWIN_OS && !defined CANNOT_DUMP
extern void unexec_init_emacs_zone (void);
extern void *unexec_malloc (size_t);
extern void *unexec_realloc (void *, size_t);
extern void unexec_free (void *);
#endif
#include "emacs-module.h"
/* Function prototype for the module Lisp functions. */