From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1129) id 495B83857C61; Mon, 16 Nov 2020 14:15:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 495B83857C61 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Joel Sherrill To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] libc/include/newlib.h: Fix C++ compilation issue X-Act-Checkin: newlib-cygwin X-Git-Author: Joel Sherrill X-Git-Refname: refs/heads/master X-Git-Oldrev: 22d1ebacfc5a1d3596d5dc25c2464fa51ed58944 X-Git-Newrev: 302b82afee423fcb5a447a222e2b771ef9c06ee0 Message-Id: <20201116141530.495B83857C61@sourceware.org> Date: Mon, 16 Nov 2020 14:15:30 +0000 (GMT) X-BeenThere: newlib-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib GIT logs List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2020 14:15:30 -0000 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=302b82afee423fcb5a447a222e2b771ef9c06ee0 commit 302b82afee423fcb5a447a222e2b771ef9c06ee0 Author: Joel Sherrill Date: Mon Nov 9 15:33:02 2020 -0600 libc/include/newlib.h: Fix C++ compilation issue Diff: --- 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 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_ */