From: YAMAMOTO Mitsuharu Date: Wed, 12 Apr 2006 08:06:25 +0000 (+0000) Subject: (syms_of_fontset, Fset_fontset_font): Put extern and X-Git-Tag: emacs-pretest-22.0.90~3192 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4f48f1abea6fe1dddfb95e33fe181233571986b5;p=emacs.git (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. --- diff --git a/src/lisp.h b/src/lisp.h index 9748eebfcb5..4cf2a4fd539 100644 --- a/src/lisp.h +++ b/src/lisp.h @@ -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. */