summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/comp.el
diff options
context:
space:
mode:
authorAndrea Corallo <acorallo@gnu.org>2023-11-09 17:00:22 +0100
committerAndrea Corallo <acorallo@gnu.org>2023-11-09 17:08:09 +0100
commit13a1797d5b69224e97295d85d0c098c96142d238 (patch)
treeccdf1fe9bb9bed1527f06142a9fcf7c2e458624e /lisp/emacs-lisp/comp.el
parent5d171d26c00aefaef1496dede69337946a1edb14 (diff)
downloademacs-13a1797d5b69224e97295d85d0c098c96142d238.tar.gz
emacs-13a1797d5b69224e97295d85d0c098c96142d238.tar.bz2
emacs-13a1797d5b69224e97295d85d0c098c96142d238.zip
Clean-up warnings for non native builds
* 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.
Diffstat (limited to 'lisp/emacs-lisp/comp.el')
-rw-r--r--lisp/emacs-lisp/comp.el17
1 files changed, 0 insertions, 17 deletions
diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el
index c0181aa5cf6..81906f3d0e8 100644
--- a/lisp/emacs-lisp/comp.el
+++ b/lisp/emacs-lisp/comp.el
@@ -37,23 +37,6 @@
(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)