summaryrefslogtreecommitdiff
path: root/lisp/startup.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/startup.el
parent1ad31f1bbae0aa9de6ff997803dcb4466b24e47d (diff)
downloademacs-aa360da10dc1130e40bb82225ee8988a2465f38a.tar.gz
Add some compiler declarations, for builds without X.
Diffstat (limited to 'lisp/startup.el')
-rw-r--r--lisp/startup.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/startup.el b/lisp/startup.el
index 83b44cacc40..c82a627e208 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -629,6 +629,10 @@ opening the first frame (e.g. open a connection to an X server).")
(push argi rest)))))
(nreverse rest)))
+(declare-function x-get-resource "frame.c"
+ (attribute class &optional component subclass))
+(declare-function tool-bar-mode "tool-bar" (&optional arg))
+
(defun command-line ()
(setq before-init-time (current-time)
command-line-default-directory default-directory)
@@ -1365,6 +1369,7 @@ a face or button specification."
'help-echo (startup-echo-area-message)))))
(setq args (cdr args)))))
+(declare-function image-size "image.c" (spec &optional pixels frame))
(defun fancy-splash-head ()
"Insert the head part of the splash screen into the current buffer."