aboutsummaryrefslogtreecommitdiff
path: root/libio/putc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/putc.c')
-rw-r--r--libio/putc.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/libio/putc.c b/libio/putc.c
index 6d84f24..3c35c36 100644
--- a/libio/putc.c
+++ b/libio/putc.c
@@ -28,11 +28,15 @@ _IO_putc (c, fp)
{
int result;
CHECK_FILE (fp, EOF);
- __libc_cleanup_region_start ((void (*) __P ((void *))) _IO_funlockfile, fp);
+ _IO_cleanup_region_start ((void (*) __P ((void *))) _IO_funlockfile, fp);
_IO_flockfile (fp);
result = _IO_putc_unlocked (c, fp);
- __libc_cleanup_region_end (1);
+ _IO_cleanup_region_end (1);
return result;
}
+
#undef putc
+
+#ifdef weak_alias
weak_alias (_IO_putc, putc)
+#endif