From 13a1797d5b69224e97295d85d0c098c96142d238 Mon Sep 17 00:00:00 2001 From: Andrea Corallo Date: Thu, 9 Nov 2023 17:00:22 +0100 Subject: 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. --- lisp/emacs-lisp/comp.el | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'lisp/emacs-lisp/comp.el') 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) -- cgit v1.2.3