diff options
author | Stefan Kangas <stefan@marxist.se> | 2021-12-21 18:04:33 +0100 |
---|---|---|
committer | Stefan Kangas <stefan@marxist.se> | 2021-12-21 18:04:33 +0100 |
commit | 11c2ffddc9fe039fe2b729818922d35a6e8a0369 (patch) | |
tree | 84a3fccb3613528ee58aa5352efde8db0f0aa398 /lisp/thread.el | |
parent | 32a764e106cb6ffbf5f596478d8318e256db58d7 (diff) | |
download | emacs-11c2ffddc9fe039fe2b729818922d35a6e8a0369.tar.gz |
Declare functions to silence byte-compiler
* lisp/auth-source.el (gnutls-symmetric-decrypt, gnutls-ciphers):
* lisp/net/dbus.el (libxml-parse-xml-region):
* lisp/simple.el (thread-name):
* lisp/thread.el (thread-name, thread-signal, thread--blocker)
(current-thread, thread-live-p, all-threads):
* test/lisp/emacs-lisp/multisession-tests.el (sqlite-close):
* test/lisp/net/gnutls-tests.el (gnutls-symmetric-decrypt)
(gnutls-symmetric-encrypt, gnutls-hash-mac, gnutls-hash-digest)
(gnutls-ciphers, gnutls-digests, gnutls-macs):
* test/lisp/net/network-stream-tests.el (gnutls-peer-status):
* test/lisp/net/shr-tests.el (libxml-parse-html-region):
* test/src/decompress-tests.el (zlib-decompress-region):
* test/src/process-tests.el (thread-last-error, thread-join)
(make-thread):
* test/src/xml-tests.el (libxml-parse-xml-region): Declare
functions to silence byte-compiler in --without-all builds.
Diffstat (limited to 'lisp/thread.el')
-rw-r--r-- | lisp/thread.el | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lisp/thread.el b/lisp/thread.el index efb058c4361..10b88dd93a1 100644 --- a/lisp/thread.el +++ b/lisp/thread.el @@ -30,6 +30,13 @@ (eval-when-compile (require 'pcase)) (eval-when-compile (require 'subr-x)) +(declare-function thread-name "thread.c") +(declare-function thread-signal "thread.c") +(declare-function thread--blocker "thread.c") +(declare-function current-thread "thread.c") +(declare-function thread-live-p "thread.c") +(declare-function all-threads "thread.c") + ;;;###autoload (defun thread-handle-event (event) "Handle thread events, propagated by `thread-signal'. |