diff options
author | Andrea Corallo <akrl@sdf.org> | 2020-10-12 18:55:38 +0000 |
---|---|---|
committer | Andrea Corallo <akrl@sdf.org> | 2020-10-12 21:19:09 +0200 |
commit | 6606ec8e313bf48a1ac7b63c52bfeb64c4257107 (patch) | |
tree | 075278046c04ad1b8ef032d8f484f71eb808b7f6 /lisp/emacs-lisp/advice.el | |
parent | feed53f8b5da0e58cce412cd41a52883dba6c1be (diff) | |
download | emacs-6606ec8e313bf48a1ac7b63c52bfeb64c4257107.tar.gz |
Fix some compilation warnings in non nativecomp build (bug#43892)
* lisp/emacs-lisp/advice.el (comp-subr-trampoline-install):
Declare function.
* lisp/emacs-lisp/find-func.el (comp-eln-to-el-h): Declare
variable.
* lisp/emacs-lisp/nadvice.el (comp-subr-trampoline-install):
Declare function.
* lisp/files.el (comp-eln-to-el-h): Declare variable.
* lisp/help.el (subr-native-lambda-list): Declare function.
Diffstat (limited to 'lisp/emacs-lisp/advice.el')
-rw-r--r-- | lisp/emacs-lisp/advice.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/advice.el b/lisp/emacs-lisp/advice.el index fb67de3a029..509e2551914 100644 --- a/lisp/emacs-lisp/advice.el +++ b/lisp/emacs-lisp/advice.el @@ -2052,6 +2052,8 @@ in that CLASS." function class name))) (error "ad-remove-advice: `%s' is not advised" function))) +(declare-function comp-subr-trampoline-install "comp") + ;;;###autoload (defun ad-add-advice (function advice class position) "Add a piece of ADVICE to FUNCTION's list of advices in CLASS. |