summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2022-09-23 15:14:17 +0200
committerStefan Kangas <stefankangas@gmail.com>2022-09-23 15:19:00 +0200
commit8557ecca5363e9b99371d2a3459da654d4d32fc1 (patch)
treeb4efb0d405df635fe00c47ba131b302bcd5c09e7 /test
parentb306bc5e6deab0a4c1afdd70efd33c0cdf23745f (diff)
downloademacs-8557ecca5363e9b99371d2a3459da654d4d32fc1.tar.gz
emacs-8557ecca5363e9b99371d2a3459da654d4d32fc1.tar.bz2
emacs-8557ecca5363e9b99371d2a3459da654d4d32fc1.zip
; Fix warnings in --without-x build
* lisp/image/image-crop.el (image-scaling-factor) (image-property, image-size, imagep): * test/src/image-tests.el (image-size, image-mask-p) (image-metadata): Declare.
Diffstat (limited to 'test')
-rw-r--r--test/src/image-tests.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/src/image-tests.el b/test/src/image-tests.el
index bf79faca52e..d1a4dad37b9 100644
--- a/test/src/image-tests.el
+++ b/test/src/image-tests.el
@@ -23,6 +23,10 @@
(require 'ert)
+(declare-function image-size "image.c" (spec &optional pixels frame))
+(declare-function image-mask-p "image.c" (spec &optional frame))
+(declare-function image-metadata "image.c" (spec &optional frame))
+
(defconst image-tests--images
`((gif . ,(expand-file-name "test/data/image/black.gif"
source-directory))