diff options
author | Justus Winter <[email protected]> | 2016-11-07 15:59:15 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2016-11-07 16:01:48 +0000 |
commit | 4d98a72b88cf167295e1ecd6125b9c7a11b6239f (patch) | |
tree | 900e0c9cd4a3172f7af0fc9591107d9abe1cabc8 /tests/gpgscm/lib.scm | |
parent | tests: Move environment creation and teardown into each test. (diff) | |
download | gnupg-4d98a72b88cf167295e1ecd6125b9c7a11b6239f.tar.gz gnupg-4d98a72b88cf167295e1ecd6125b9c7a11b6239f.zip |
gpgscm: Drop 'len' argument from splice.
* tests/gpgscm/ffi.c (do_splice): Drop 'len' argument, no-one uses it.
* tests/gpgscm/lib.scm (splice): Document foreign function.
Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to '')
-rw-r--r-- | tests/gpgscm/lib.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/gpgscm/lib.scm b/tests/gpgscm/lib.scm index a8ae2f805..7d2d1ebac 100644 --- a/tests/gpgscm/lib.scm +++ b/tests/gpgscm/lib.scm @@ -207,6 +207,9 @@ ;; Get our process id. (ffi-define (getpid)) +;; Copy data from file descriptor SOURCE to SINK. +(ffi-define (splice source sink)) + ;; ;; Random numbers. ;; |