aboutsummaryrefslogtreecommitdiff
path: root/include/libiberty.h
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2005-04-16 21:49:07 +0000
committerDJ Delorie <dj@redhat.com>2005-04-16 21:49:07 +0000
commit73b4949a87e246ea9bdc1286c8d057a0717cb3d4 (patch)
treec2d656f85b6d8e4c1e359c275d16eb813c13036e /include/libiberty.h
parent68401acd245a423c8d3f4c82d9ba215dfa5ecf86 (diff)
downloadnewlib-73b4949a87e246ea9bdc1286c8d057a0717cb3d4.zip
newlib-73b4949a87e246ea9bdc1286c8d057a0717cb3d4.tar.gz
newlib-73b4949a87e246ea9bdc1286c8d057a0717cb3d4.tar.bz2
merge from gcc
Diffstat (limited to 'include/libiberty.h')
-rw-r--r--include/libiberty.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/libiberty.h b/include/libiberty.h
index 671a123..8254aaf 100644
--- a/include/libiberty.h
+++ b/include/libiberty.h
@@ -48,6 +48,12 @@ extern "C" {
#include <stdio.h>
+/* If the OS supports it, ensure that the supplied stream is setup to
+ avoid any multi-threaded locking. Otherwise leave the FILE pointer
+ unchanged. If the stream is NULL do nothing. */
+
+extern void unlock_stream (FILE *);
+
/* Open and return a FILE pointer. If the OS supports it, ensure that
the stream is setup to avoid any multi-threaded locking. Otherwise
return the FILE pointer unchanged. */