From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt1-f179.google.com (mail-qt1-f179.google.com [209.85.160.179]) by sourceware.org (Postfix) with ESMTPS id 482F83857C46 for ; Mon, 9 Nov 2020 21:33:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 482F83857C46 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=rtems.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=joel.sherrill@gmail.com Received: by mail-qt1-f179.google.com with SMTP id h12so7128657qtc.9 for ; Mon, 09 Nov 2020 13:33:45 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=jRV6YEoiYxIH7Y9fPqJGF1aZcRuz7w/+bh1GIUh79ZQ=; b=Mev8svxvdLJkitRTyvfKw6ZxQFjijxoNbctTq3E6bqkH7Zj94AqlVsiLS/brPC5beo 2SOjd5AFIxEHGUh5UXPzrVgp6oXP6YMdy0k16BpCVpl75QLbqEsJ/+W8x5MfvWb2zzMA GRHoYLlutiQroAKM78zMZ3WtzVo+6pDxcvsw0LWuwMk8SF50Luvp6Co9xz6U4XM3Kj50 AsZMg5BVOAylrrGhQO4wtkPHC/12Q1kKitQbAi88DGE5xGm1J1C1bci6QgSmI1cmOqrH oAVSoJCWZsi7nhtAsa775k5XuCu7ImbVf740YR9EIW8VwZe6CAFlakAOQFdSbY0Ygq7A 3A7w== X-Gm-Message-State: AOAM5333olMJjKrnDyJ7kXZCfd2z8hqlB58nZBix9/+XkiF85GGCigPT 7Cryb2wYMJ0OYj97N4QC4crjv3TM/ZLLCw== X-Google-Smtp-Source: ABdhPJydVBwQmQZcC9oKWn7gDCj6LwGeQofRkawkqK03Yz1EVuA9fFibXmqrtF+CyCauQZjOUsyy4w== X-Received: by 2002:aed:2062:: with SMTP id 89mr8013646qta.335.1604957624366; Mon, 09 Nov 2020 13:33:44 -0800 (PST) Received: from localhost.localdomain.localdomain ([24.96.88.41]) by smtp.gmail.com with ESMTPSA id q3sm6890276qkf.24.2020.11.09.13.33.43 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Nov 2020 13:33:43 -0800 (PST) From: Joel Sherrill To: newlib@sourceware.org Subject: [PATCH] libc/include/newlib.h: Fix C++ compilation issue Date: Mon, 9 Nov 2020 15:33:40 -0600 Message-Id: <1604957620-8058-1-git-send-email-joel@rtems.org> X-Mailer: git-send-email 1.8.3.1 X-Spam-Status: No, score=-3039.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, GIT_PATCH_0, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: newlib@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Nov 2020 21:33:47 -0000 --- 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