summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2020-11-09 15:33:02 -0600
committerJoel Sherrill <joel@rtems.org>2020-11-16 08:15:18 -0600
commit302b82afee423fcb5a447a222e2b771ef9c06ee0 (patch)
tree6efe1799dacd53ca104ac0c26e6bb7215e54e088
parent22d1ebacfc5a1d3596d5dc25c2464fa51ed58944 (diff)
downloadcygnal-302b82afee423fcb5a447a222e2b771ef9c06ee0.tar.gz
cygnal-302b82afee423fcb5a447a222e2b771ef9c06ee0.tar.bz2
cygnal-302b82afee423fcb5a447a222e2b771ef9c06ee0.zip
libc/include/newlib.h: Fix C++ compilation issue
-rw-r--r--newlib/libc/include/devctl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/include/devctl.h b/newlib/libc/include/devctl.h
index 889693e1d..46305cf05 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_ */