diff options
author | Andy Wingo <wingo@pobox.com> | 2016-04-26 23:13:32 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2016-04-26 23:13:32 +0200 |
commit | d0b9d3b04d63d5add984b33d2371528297464623 (patch) | |
tree | af4b23be595d8c69ea0e37a2cb665ff2b0c0408d /libguile/ports.h | |
parent | 105e36543fdc6eecff3189c0b94fca80f5af8480 (diff) | |
download | guile-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/ports.h')
-rw-r--r-- | libguile/ports.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libguile/ports.h b/libguile/ports.h index 40198218c..d916205ff 100644 --- a/libguile/ports.h +++ b/libguile/ports.h @@ -326,7 +326,6 @@ SCM_INTERNAL SCM scm_port_write_buffer (SCM port); SCM_API void scm_putc (char c, SCM port); SCM_API void scm_puts (const char *str_data, SCM port); SCM_API void scm_c_write (SCM port, const void *buffer, size_t size); -SCM_API void scm_c_write_unlocked (SCM port, const void *buffer, size_t size); SCM_API void scm_c_write_bytes (SCM port, SCM src, size_t start, size_t count); SCM_API void scm_lfwrite (const char *ptr, size_t size, SCM port); SCM_API void scm_lfwrite_unlocked (const char *ptr, size_t size, SCM port); |