[PATCH] libc/include/newlib.h: Fix C++ compilation issue

Joel Sherrill <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
---
 newlib/libc/include/devctl.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/newlib/libc/include/devctl.h b/newlib/libc/include/devctl.h
index 889693e..46305cf 100644
--- a/newlib/libc/include/devctl.h
+++ b/newlib/libc/include/devctl.h
@@ -69,10 +69,10 @@ int posix_devctl(
   size_t           nbyte,
   int *__restrict  dev_info_ptr
 );
-#endif
 
 #ifdef __cplusplus
 }
 #endif
 
-#endif
+#endif /* _POSIX_26_C_SOURCE */
+#endif /*_POSIX_DEVCTL_h_ */
-- 
1.8.3.1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.