From 6606ec8e313bf48a1ac7b63c52bfeb64c4257107 Mon Sep 17 00:00:00 2001 From: Andrea Corallo Date: Mon, 12 Oct 2020 18:55:38 +0000 Subject: 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. --- lisp/files.el | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lisp/files.el') diff --git a/lisp/files.el b/lisp/files.el index 833a188b03b..1d330ce87bf 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -900,6 +900,8 @@ recursion." (read-file-name "Load file: " nil nil 'lambda)))) (load (expand-file-name file) nil nil t)) +(defvar comp-eln-to-el-h) + (defun locate-file (filename path &optional suffixes predicate) "Search for FILENAME through PATH. If found, return the absolute file name of FILENAME; otherwise -- cgit v1.2.3