Skip to contentSkip to conversation

Missing extern "C" { in include/posix/fcntl.h

Xenomai-core Meier, Hans 2 participants 2 messages Apr 12, 2006

lore
Share & tools
lore
#0 lore raw

Hi everybody,

Obviously a

#ifdef __cplusplus
extern "C" {
#endif

(only the first half of it, the closing '}' exists) is missing in include/posix/fcntl.h, see the patch below.

The problem still exists in 2.1.0 as well as in trunk.

Hans

posix/fcntl.h +4 -0
@@ -40,6 +40,10 @@
 #include <time.h>
 #include_next <fcntl.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 int __real_open(const char *path, int oflag, ...);
 
 #ifdef __cplusplus
#1 lore raw
Quoted 4 lines · Hans

Hi everybody,

Obviously a

Quoted 8 lines

#ifdef __cplusplus
extern "C" {
#endif

(only the first half of it, the closing '}' exists) is missing in include/posix/fcntl.h, see the patch below.

The problem still exists in 2.1.0 as well as in trunk.

Patch applied, thanks.

Signature · 1 line
					    Gilles Chanteperdrix.