[lttng-dev] [Babeltrace RFC PATCH 22/28] Add MinGW implementation of funlockfile.

Ikaheimonen, JP jp_ikaheimonen at mentor.com
Thu May 2 08:03:16 EDT 2013


Add dummy MinGW implementation of funlockfile.
This function does not do anything.
---
 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