summaryrefslogtreecommitdiff
path: root/libguile/rw.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2016-04-26 23:13:32 +0200
committerAndy Wingo <wingo@pobox.com>2016-04-26 23:13:32 +0200
commitd0b9d3b04d63d5add984b33d2371528297464623 (patch)
treeaf4b23be595d8c69ea0e37a2cb665ff2b0c0408d /libguile/rw.c
parent105e36543fdc6eecff3189c0b94fca80f5af8480 (diff)
downloadguile-d0b9d3b04d63d5add984b33d2371528297464623.tar.gz
Remove scm_c_write_unlocked
* libguile/ports.h (scm_c_write_bytes_unlocked): Remove. * libguile/ports.c (scm_c_write_bytes): Rename from scm_c_write_bytes_unlocked, make public, and return void. (scm_c_write): Rename from scm_c_write_unlocked. Remove locked variant. (scm_lfwrite_unlocked): Call scm_c_write. * libguile/rw.c (scm_write_string_partial): Call scm_c_write.
Diffstat (limited to 'libguile/rw.c')
-rw-r--r--libguile/rw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/rw.c b/libguile/rw.c
index b2f8f3a1d..b3d1f1614 100644
--- a/libguile/rw.c
+++ b/libguile/rw.c
@@ -242,7 +242,7 @@ SCM_DEFINE (scm_write_string_partial, "write-string/partial", 1, 3, 0,
flush. */
if (write_len < scm_port_buffer_can_put (write_buf))
{
- scm_c_write_unlocked (port, src, write_len);
+ scm_c_write (port, src, write_len);
return scm_from_long (write_len);
}