aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2023-08-16 16:10:55 +0300
committerEli Zaretskii2023-08-16 16:10:55 +0300
commitdfe68f2a420e4d85ba2d1723bbdbf7f4bf1d71a6 (patch)
tree318ce228552e4c5eef80507d5f9079c780039157
parent3d7041834f5b874119b7fd0f8024825e48ff636a (diff)
downloademacs-dfe68f2a420e4d85ba2d1723bbdbf7f4bf1d71a6.tar.gz
emacs-dfe68f2a420e4d85ba2d1723bbdbf7f4bf1d71a6.zip
; Fix byte-compiler warnings in comp.el
* lisp/emacs-lisp/comp.el: Declare functions and variables defined in comp.c, to avoid byte-compiler warnings. (Bug#65250)
-rw-r--r--lisp/emacs-lisp/comp.el17
1 files changed, 17 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el
index bb85ef2bc06..ad0077dadda 100644
--- a/lisp/emacs-lisp/comp.el
+++ b/lisp/emacs-lisp/comp.el
@@ -39,6 +39,23 @@
39(require 'warnings) 39(require 'warnings)
40(require 'comp-cstr) 40(require 'comp-cstr)
41 41
42;; These variables and functions are defined in comp.c
43(defvar native-comp-enable-subr-trampolines)
44(defvar comp-installed-trampolines-h)
45(defvar comp-subr-arities-h)
46(defvar native-comp-eln-load-path)
47(defvar comp-native-version-dir)
48(defvar comp-deferred-pending-h)
49(defvar comp--no-native-compile)
50
51(declare-function comp-el-to-eln-rel-filename "comp.c")
52(declare-function native-elisp-load "comp.c")
53(declare-function comp--release-ctxt "comp.c")
54(declare-function comp--init-ctxt "comp.c")
55(declare-function comp--compile-ctxt-to-file "comp.c")
56(declare-function comp-el-to-eln-filename "comp.c")
57(declare-function comp--install-trampoline "comp.c")
58
42(defgroup comp nil 59(defgroup comp nil
43 "Emacs Lisp native compiler." 60 "Emacs Lisp native compiler."
44 :group 'lisp) 61 :group 'lisp)