diff options
author | Andy Wingo <wingo@pobox.com> | 2016-04-26 23:01:14 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2016-04-26 23:01:14 +0200 |
commit | 206b3f6e037a3e6d4eaa6401899cc48a51488657 (patch) | |
tree | 9ae781dbad980c6ff7d506a0e1021c4c54c6284e /libguile/hooks.c | |
parent | 796676028b5812b556decf5cad1f3ce3992ac25f (diff) | |
download | guile-206b3f6e037a3e6d4eaa6401899cc48a51488657.tar.gz |
Remove scm_putc_unlocked.
* libguile/ports.h (scm_putc_unlocked): Remove.
* libguile/ports.c (scm_putc): Replace implementation with
scm_putc_unlocked's implementation.
(scm_port_print): Use scm_putc.
* libguile/arbiters.c:
* libguile/arrays.c:
* libguile/bitvectors.c:
* libguile/bytevectors.c:
* libguile/continuations.c:
* libguile/dynl.c:
* libguile/eval.c:
* libguile/filesys.c:
* libguile/fluids.c:
* libguile/foreign.c:
* libguile/fports.c:
* libguile/frames.c:
* libguile/hashtab.c:
* libguile/hooks.c:
* libguile/macros.c:
* libguile/mallocs.c:
* libguile/print.c:
* libguile/programs.c:
* libguile/promises.c:
* libguile/r6rs-ports.c:
* libguile/smob.c:
* libguile/srcprop.c:
* libguile/struct.c:
* libguile/variable.c:
* libguile/weak-set.c:
* libguile/weak-table.c: Use scm_putc instead of scm_putc_unlocked.
Diffstat (limited to 'libguile/hooks.c')
-rw-r--r-- | libguile/hooks.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libguile/hooks.c b/libguile/hooks.c index 782636e4e..39b92ec5f 100644 --- a/libguile/hooks.c +++ b/libguile/hooks.c @@ -136,20 +136,20 @@ hook_print (SCM hook, SCM port, scm_print_state *pstate) SCM ls, name; scm_puts_unlocked ("#<hook ", port); scm_intprint (SCM_HOOK_ARITY (hook), 10, port); - scm_putc_unlocked (' ', port); + scm_putc (' ', port); scm_uintprint (SCM_UNPACK (hook), 16, port); ls = SCM_HOOK_PROCEDURES (hook); while (scm_is_pair (ls)) { - scm_putc_unlocked (' ', port); + scm_putc (' ', port); name = scm_procedure_name (SCM_CAR (ls)); if (scm_is_true (name)) scm_iprin1 (name, port, pstate); else - scm_putc_unlocked ('?', port); + scm_putc ('?', port); ls = SCM_CDR (ls); } - scm_putc_unlocked ('>', port); + scm_putc ('>', port); return 1; } |