X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Flibiberty.h;h=8254aafab0fa899c9ed736365d82e9ccf8ac1fa9;hb=7b6f628627fd678e69558bdc8e4f2bd62e56ec0c;hp=671a1239c65d078428e0fa12c827a13bee2a410f;hpb=5a49dfd0ac779c6d2148f7fd4dd3b357f841877a;p=deliverable%2Fbinutils-gdb.git diff --git a/include/libiberty.h b/include/libiberty.h index 671a1239c6..8254aafab0 100644 --- a/include/libiberty.h +++ b/include/libiberty.h @@ -48,6 +48,12 @@ extern "C" { #include +/* 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. */