summaryrefslogtreecommitdiff
path: root/lisp/tool-bar.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2008-06-12 03:56:20 +0000
committerGlenn Morris <rgm@gnu.org>2008-06-12 03:56:20 +0000
commitaa360da10dc1130e40bb82225ee8988a2465f38a (patch)
tree24fea572da73c841761a9d8d8d59645bfa61d926 /lisp/tool-bar.el
parent1ad31f1bbae0aa9de6ff997803dcb4466b24e47d (diff)
downloademacs-aa360da10dc1130e40bb82225ee8988a2465f38a.tar.gz
Add some compiler declarations, for builds without X.
Diffstat (limited to 'lisp/tool-bar.el')
-rw-r--r--lisp/tool-bar.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/tool-bar.el b/lisp/tool-bar.el
index c47cab0af40..14cbc57f029 100644
--- a/lisp/tool-bar.el
+++ b/lisp/tool-bar.el
@@ -88,6 +88,8 @@ Define this locally to override the global tool bar.")
'(menu-item "tool bar" ignore
:filter tool-bar-make-keymap))
+(declare-function image-mask-p "image.c" (spec &optional frame))
+
(defun tool-bar-make-keymap (&optional ignore)
"Generate an actual keymap from `tool-bar-map'.
Its main job is to figure out which images to use based on the display's