From 30a2dfd5181ab0fc61ef4f4ab5f7122e41a5ff50 Mon Sep 17 00:00:00 2001 From: Duncan Simpson Date: Thu, 23 Jul 2009 12:39:17 -0700 Subject: Make include/unistd.h suitable for C++ test cases. --- include/unistd.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/unistd.h') diff --git a/include/unistd.h b/include/unistd.h index 72d7e2e..ccba893 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -1,6 +1,8 @@ #ifndef _UNISTD_H # include +__BEGIN_DECLS + libc_hidden_proto (_exit, __noreturn__) libc_hidden_proto (alarm) libc_hidden_proto (confstr) @@ -174,4 +176,6 @@ extern int __have_sock_cloexec; unless it is really necessary. */ #define __have_pipe2 __have_sock_cloexec +__END_DECLS + #endif -- cgit v1.1