[lttng-dev] [Babeltrace PATCH 18/23] Add MinGW implementation of funlockfile

Ikaheimonen, JP jp_ikaheimonen at mentor.com
Wed May 22 04:07:27 EDT 2013


Add a dummy MinGW implementation of funlockfile.
This function does not do anything, it only returns.
---
 include/babeltrace/compat/stdio.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/babeltrace/compat/stdio.h b/include/babeltrace/compat/stdio.h
index 62ecf97..be64e60 100644
--- a/include/babeltrace/compat/stdio.h
+++ b/include/babeltrace/compat/stdio.h
@@ -8,6 +8,10 @@ static inline void flockfile (FILE * filehandle)
 {
 	return;
 }
+static inline void funlockfile(FILE * filehandle)
+{
+	return;
+}
 
 #endif
 
-- 
1.8.1.msysgit.1




More information about the lttng-dev mailing list