[vlc-devel] [PATCH] Fix issues with replaced compat functions in C++ modules

Jean-Baptiste Kempf jb at videolan.org
Tue Aug 26 18:55:57 CEST 2014


---
 include/vlc_fixups.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/vlc_fixups.h b/include/vlc_fixups.h
index c3d5fac..b9e1fdf 100644
--- a/include/vlc_fixups.h
+++ b/include/vlc_fixups.h
@@ -194,10 +194,6 @@ int (dirfd) (DIR *);
 DIR *fdopendir (int);
 #endif
 
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
-
 /* stdlib.h */
 #ifndef HAVE_GETENV
 static inline char *getenv (const char *name)
@@ -339,6 +335,10 @@ long jrand48 (unsigned short subi[3]);
 long nrand48 (unsigned short subi[3]);
 #endif
 
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
 #ifdef __OS2__
 # undef HAVE_FORK   /* Implementation of fork() is imperfect on OS/2 */
 #endif
-- 
2.1.0




More information about the vlc-devel mailing list