From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14581 invoked by alias); 10 Dec 2010 12:12:48 -0000 Received: (qmail 14554 invoked by uid 22791); 10 Dec 2010 12:12:47 -0000 X-SWARE-Spam-Status: No, hits=-6.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,TW_CP,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 10 Dec 2010 12:12:25 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id oBACCMkv003934 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 10 Dec 2010 07:12:22 -0500 Received: from hase (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id oBACCKL2030527 for ; Fri, 10 Dec 2010 07:12:21 -0500 From: Andreas Schwab To: libc-hacker@sourceware.org Subject: [PATCH] Declare wcpcpy and wcpncpy only under _GNU_SOURCE X-Yow: I haven't been married in over six years, but we had sexual counseling every day from Oral Roberts!! Date: Fri, 10 Dec 2010 12:12:00 -0000 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact libc-hacker-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sourceware.org X-SW-Source: 2010-12/txt/msg00007.txt.bz2 2010-12-10 Andreas Schwab * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under _GNU_SOURCE. --- wcsmbs/wchar.h | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/wcsmbs/wchar.h b/wcsmbs/wchar.h index ca8ba80..5f341f3 100644 --- a/wcsmbs/wchar.h +++ b/wcsmbs/wchar.h @@ -555,10 +555,8 @@ extern float wcstof_l (__const wchar_t *__restrict __nptr, extern long double wcstold_l (__const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr, __locale_t __loc) __THROW; -#endif /* GNU */ -#ifdef __USE_XOPEN2K8 /* Copy SRC to DEST, returning the address of the terminating L'\0' in DEST. */ extern wchar_t *wcpcpy (wchar_t *__restrict __dest, -- 1.7.2.3 -- Andreas Schwab, schwab@redhat.com GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84 5EC7 45C6 250E 6F00 984E "And now for something completely different."