1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-28 07:45:00 +00:00

(syms_of_fontset, Fset_fontset_font): Put extern and

EXFUN in #ifdef HAVE_WINDOW_SYSTEM.
(syms_of_xfns, syms_of_xsmfns, syms_of_xselect, syms_of_xterm):
Put externs in #ifdef HAVE_X_WINDOWS.
(syms_of_macfns, syms_of_macselect, syms_of_macterm)
(syms_of_macmenu, syms_of_mac) [MAC_OS]: Add externs.
(init_mac_osx_environment) [MAC_OSX]: Add extern.
This commit is contained in:
YAMAMOTO Mitsuharu 2006-04-12 08:06:25 +00:00
parent 9db94f8296
commit 4f48f1abea

View File

@ -3198,10 +3198,14 @@ extern void syms_of_dired P_ ((void));
extern void syms_of_term P_ ((void));
extern void fatal () NO_RETURN;
#ifdef HAVE_X_WINDOWS
#ifdef HAVE_WINDOW_SYSTEM
/* Defined in fontset.c */
extern void syms_of_fontset P_ ((void));
EXFUN (Fset_fontset_font, 4);
/* Defined in xfns.c, w32fns.c, or macfns.c */
EXFUN (Fxw_display_color_p, 1);
EXFUN (Fx_file_dialog, 5);
#endif
/* Defined in xfaces.c */
@ -3215,12 +3219,6 @@ extern int getloadavg P_ ((double *, int));
#ifdef HAVE_X_WINDOWS
/* Defined in xfns.c */
extern void syms_of_xfns P_ ((void));
#endif /* HAVE_X_WINDOWS */
#ifdef HAVE_WINDOW_SYSTEM
/* Defined in xfns.c, w32fns.c, or macfns.c */
EXFUN (Fxw_display_color_p, 1);
EXFUN (Fx_file_dialog, 5);
#endif /* HAVE_WINDOW_SYSTEM */
/* Defined in xsmfns.c */
extern void syms_of_xsmfns P_ ((void));
@ -3230,11 +3228,32 @@ extern void syms_of_xselect P_ ((void));
/* Defined in xterm.c */
extern void syms_of_xterm P_ ((void));
#endif /* HAVE_X_WINDOWS */
#ifdef MSDOS
/* Defined in msdos.c */
EXFUN (Fmsdos_downcase_filename, 1);
#endif
#ifdef MAC_OS
/* Defined in macfns.c */
extern void syms_of_macfns P_ ((void));
/* Defined in macselect.c */
extern void syms_of_macselect P_ ((void));
/* Defined in macterm.c */
extern void syms_of_macterm P_ ((void));
/* Defined in macmenu.c */
extern void syms_of_macmenu P_ ((void));
/* Defined in mac.c */
extern void syms_of_mac P_ ((void));
#ifdef MAC_OSX
extern void init_mac_osx_environment P_ ((void));
#endif /* MAC_OSX */
#endif /* MAC_OS */
/* Nonzero means Emacs has already been initialized.
Used during startup to detect startup of dumped Emacs. */