]> git.eshelyaron.com Git - emacs.git/commitdiff
Clean-up warnings for non native builds
authorAndrea Corallo <acorallo@gnu.org>
Thu, 9 Nov 2023 16:00:22 +0000 (17:00 +0100)
committerAndrea Corallo <acorallo@gnu.org>
Thu, 9 Nov 2023 16:08:09 +0000 (17:08 +0100)
* lisp/emacs-lisp/comp-common.el (native-comp-enable-subr-trampolines)
(comp-installed-trampolines-h, comp-subr-arities-h)
(native-comp-eln-load-path, comp-native-version-dir)
(comp-deferred-pending-h, comp--no-native-compile): Silence
warning.
(comp-el-to-eln-rel-filename, native-elisp-load)
(comp--release-ctxt, comp--init-ctxt)
(comp--compile-ctxt-to-file, comp-el-to-eln-filename)
(comp--install-trampoline): Declare function.
* lisp/emacs-lisp/comp.el : Update.

lisp/emacs-lisp/comp-common.el
lisp/emacs-lisp/comp.el

index 32b5d6ba270e8b318317be2602e950a4acced66c..678f62b60df218c25d3011ccec09cef377c789f2 100644 (file)
 
 (eval-when-compile (require 'cl-lib))
 
+;; These variables and functions are defined in comp.c
+(defvar native-comp-enable-subr-trampolines)
+(defvar comp-installed-trampolines-h)
+(defvar comp-subr-arities-h)
+(defvar native-comp-eln-load-path)
+(defvar comp-native-version-dir)
+(defvar comp-deferred-pending-h)
+(defvar comp--no-native-compile)
+
+(declare-function comp-el-to-eln-rel-filename "comp.c")
+(declare-function native-elisp-load "comp.c")
+(declare-function comp--release-ctxt "comp.c")
+(declare-function comp--init-ctxt "comp.c")
+(declare-function comp--compile-ctxt-to-file "comp.c")
+(declare-function comp-el-to-eln-filename "comp.c")
+(declare-function comp--install-trampoline "comp.c")
+
 (defgroup comp-common nil
   "Emacs Lisp native compiler common code."
   :group 'lisp)
index c0181aa5cf68316bca7b45cbfbfbb79ad8f9339d..81906f3d0e8fe62b0f97b30b84e21bdb473732e9 100644 (file)
 (require 'comp-common)
 (require 'comp-cstr)
 
-;; These variables and functions are defined in comp.c
-(defvar native-comp-enable-subr-trampolines)
-(defvar comp-installed-trampolines-h)
-(defvar comp-subr-arities-h)
-(defvar native-comp-eln-load-path)
-(defvar comp-native-version-dir)
-(defvar comp-deferred-pending-h)
-(defvar comp--no-native-compile)
-
-(declare-function comp-el-to-eln-rel-filename "comp.c")
-(declare-function native-elisp-load "comp.c")
-(declare-function comp--release-ctxt "comp.c")
-(declare-function comp--init-ctxt "comp.c")
-(declare-function comp--compile-ctxt-to-file "comp.c")
-(declare-function comp-el-to-eln-filename "comp.c")
-(declare-function comp--install-trampoline "comp.c")
-
 (defgroup comp nil
   "Emacs Lisp native compiler."
   :group 'lisp)