From patchwork Thu Nov 30 10:28:40 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yaakov Selkowitz X-Patchwork-Id: 120124 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp494789qgn; Thu, 30 Nov 2017 02:39:14 -0800 (PST) X-Google-Smtp-Source: AGs4zMZZShKj+iledXzBmr5dUiCv64H2v9eLSh8Ibo7+uuOM5zDPlcgiGqKbxhB0Xfu12acEKlTN X-Received: by 10.98.110.193 with SMTP id j184mr6219754pfc.187.1512038354832; Thu, 30 Nov 2017 02:39:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512038354; cv=none; d=google.com; s=arc-20160816; b=coJAFdJ53Ao1FY8klvqXyI+F01qyNN66RpLVmfcKI/3hazuvwrSbvrwTeG9lylRn0O CQeob7vi/FK74fc3O2PWhn4h1XdIaBJubjxLYptMfNx3DhWy/2Cz1FeNuQnJlWVQlheh GgL7X2eo3uem/jJpu8iiOoWosQdHajaTyqiCKGdXk2FMi1mKkY4gDuBNSuq3T0dCjv+w ktNkRxUaYLhai2nkiR0K5beO/HWE7k/QmZR2OJxt5rFVC1xsI/WsXwwPM/qcGtPpPD6a LDSzYeL28M7o25jz4GCtGvmC8V/axuJ139iBB55LA1E8wt/q6s0RweYp4D6asZtJzRQf 7b7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:to:from:delivered-to :sender:list-help:list-post:list-archive:list-subscribe :list-unsubscribe:list-id:precedence:mailing-list:dkim-signature :domainkey-signature:arc-authentication-results; bh=fxstFqisQAUBHooOMPmS63WS6NGqzFbektIStdGOHwM=; b=kRApxoZlUZ2IhX4F7JIVMdu2vnhdO9LLKR+1iN8Y5moKGIAhXM1L6hIwd1tqq5fWf3 k7mfvwHM/18dpKu5xuwVZIdyQl5dL2lxqqnlu80a1+GqK6CAijt4Rtt7KN+tm8qrQPSX mK6qDvfcQ+1zX3XPp+XhJCp1NcpPAZNZP7WYkKCL0b8EYcjPpjOx4x2wl2qqAO8xPUEh fcWe80GBE6ocBmlEZd6ZtPx4dUXjbyZpjMeWd5f/UnX1TF+O8pazMpzwKm8/G00/2/xo j9QEYPg73HNudZ7jcPHvQiSTerJrdp8b4f+IYVhffddHVpa7aQe9gtou/xLkWI5raSA1 TqCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=E0jUsgV/; spf=pass (google.com: domain of newlib-return-15439-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15439-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id 43si2911845plb.94.2017.11.30.02.39.14 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Nov 2017 02:39:14 -0800 (PST) Received-SPF: pass (google.com: domain of newlib-return-15439-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=E0jUsgV/; spf=pass (google.com: domain of newlib-return-15439-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15439-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; q=dns; s=default; b=GwH9ij7lUDLjl7W9/QufloTBoXJTAOd TmtR1J47OfxuF8ELE3+gSULzyJlbADLsPc++2xwnP6f72LgG9AcLH836TmALehQ6 58JweIqMb1NI4ao/vou+nWYudA9LpBCV+KxvStwHe3wbc2SI5ilE1PmAwkQTbOSb lesBOS/CHdEs= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; s=default; bh=N4/PKRXHCD/Y5aT5IpfviGJSW9g=; b=E0jUs gV/RjHw17D9OZRsytXQXaHxZLPgUJ6Gp6hYDMV79JBtqduuIo1KwtUQYtyCt/b3n pcGxk5FFVzzMIhwN5+lBp2cFxql8cpglO+ML4rB6OI/lP+tPkALWKG4ZG155g3gM dqNh1cT2imune/x+Ei7s/hBHRxTFvBS5fUkXII= Received: (qmail 114151 invoked by alias); 30 Nov 2017 10:39:02 -0000 Mailing-List: contact newlib-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-owner@sourceware.org Delivered-To: mailing list newlib@sourceware.org Received: (qmail 114136 invoked by uid 89); 30 Nov 2017 10:39:02 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.7 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KB_WAM_FROM_NAME_SINGLEWORD, SPF_HELO_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=2529 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 30 Nov 2017 10:39:00 +0000 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 9A37D820E2 for ; Thu, 30 Nov 2017 10:29:10 +0000 (UTC) Received: from localhost.localdomain (ovpn-116-45.phx2.redhat.com [10.3.116.45]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 537F05C88D for ; Thu, 30 Nov 2017 10:29:10 +0000 (UTC) From: Yaakov Selkowitz To: newlib@sourceware.org Subject: [PATCH 06/24] powerpc: remove TRAD_SYNOPSIS Date: Thu, 30 Nov 2017 04:28:40 -0600 Message-Id: <20171130102858.16160-7-yselkowi@redhat.com> In-Reply-To: <20171130102858.16160-1-yselkowi@redhat.com> References: <20171130102858.16160-1-yselkowi@redhat.com> Signed-off-by: Yaakov Selkowitz --- newlib/libc/machine/powerpc/atosfix16.c | 25 +--------------- newlib/libc/machine/powerpc/atoufix16.c | 25 +--------------- newlib/libc/machine/powerpc/strtosfix16.c | 31 +------------------ newlib/libc/machine/powerpc/strtoufix16.c | 31 +------------------ newlib/libc/machine/powerpc/vec_calloc.c | 14 +-------- newlib/libc/machine/powerpc/vec_malloc.c | 28 +----------------- newlib/libc/machine/powerpc/vfprintf.c | 49 +------------------------------ newlib/libc/machine/powerpc/vfscanf.c | 36 +---------------------- 8 files changed, 8 insertions(+), 231 deletions(-) -- 2.15.0 diff --git a/newlib/libc/machine/powerpc/atosfix16.c b/newlib/libc/machine/powerpc/atosfix16.c index 501c0f1cb..30379c579 100644 --- a/newlib/libc/machine/powerpc/atosfix16.c +++ b/newlib/libc/machine/powerpc/atosfix16.c @@ -15,7 +15,7 @@ INDEX INDEX _atosfix64_r -ANSI_SYNOPSIS +SYNOPSIS #include __int16_t atosfix16(const char *<[s]>); __int32_t atosfix32(const char *<[s]>); @@ -25,29 +25,6 @@ ANSI_SYNOPSIS __int32_t _atosfix32_r(struct __reent *, const char *<[s]>); __int64_t _atosfix32_r(struct __reent *, const char *<[s]>); -TRAD_SYNOPSIS - #include - __int16_t atosfix16(<[s]>) - const char *<[s]>; - - __int32_t atosfix32(<[s]>) - const char *<[s]>; - - __int64_t atosfix64(<[s]>) - const char *<[s]>; - - __int16_t _atosfix16_r(, <[s]>) - struct _reent *<[reent]>; - const char *<[s]>; - - __int32_t _atosfix32_r(, <[s]>) - struct _reent *<[reent]>; - const char *<[s]>; - - __int64_t _atosfix64_r(, <[s]>) - struct _reent *<[reent]>; - const char *<[s]>; - DESCRIPTION <> converts the initial portion of a string to a sign + 15-bit fraction fixed point value. diff --git a/newlib/libc/machine/powerpc/atoufix16.c b/newlib/libc/machine/powerpc/atoufix16.c index 53db13764..45d130fac 100644 --- a/newlib/libc/machine/powerpc/atoufix16.c +++ b/newlib/libc/machine/powerpc/atoufix16.c @@ -15,7 +15,7 @@ INDEX INDEX _atoufix64_r -ANSI_SYNOPSIS +SYNOPSIS #include __uint16_t atoufix16(const char *<[s]>); __uint32_t atoufix32(const char *<[s]>); @@ -25,29 +25,6 @@ ANSI_SYNOPSIS __uint32_t _atoufix32_r(struct __reent *, const char *<[s]>); __uint64_t _atoufix32_r(struct __reent *, const char *<[s]>); -TRAD_SYNOPSIS - #include - __uint16_t atoufix16(<[s]>) - const char *<[s]>; - - __uint32_t atoufix32(<[s]>) - const char *<[s]>; - - __uint64_t atoufix64(<[s]>) - const char *<[s]>; - - __uint16_t _atoufix16_r(, <[s]>) - struct _reent *<[reent]>; - const char *<[s]>; - - __uint32_t _atoufix32_r(, <[s]>) - struct _reent *<[reent]>; - const char *<[s]>; - - __uint64_t _atoufix64_r(, <[s]>) - struct _reent *<[reent]>; - const char *<[s]>; - DESCRIPTION <> converts the initial portion of a string to a 16-bit fraction unsigned fixed point value. diff --git a/newlib/libc/machine/powerpc/strtosfix16.c b/newlib/libc/machine/powerpc/strtosfix16.c index d3cfe0781..e39887dc1 100644 --- a/newlib/libc/machine/powerpc/strtosfix16.c +++ b/newlib/libc/machine/powerpc/strtosfix16.c @@ -15,7 +15,7 @@ INDEX INDEX _strtosfix64_r -ANSI_SYNOPSIS +SYNOPSIS #include __int16 strtosfix16 (const char *<[s]>, char **<[ptr]>); @@ -32,35 +32,6 @@ ANSI_SYNOPSIS __int64 _strtosfix64_r (void *<[reent]>, const char *<[s]>, char **<[ptr]>); -TRAD_SYNOPSIS - #include - __int16 strtosfix16 (<[s]>, <[ptr]>) - char *<[s]>; - char **<[ptr]>; - - __int32 strtosfix32 (<[s]>, <[ptr]>) - char *<[s]>; - char **<[ptr]>; - - __int64 strtosfix64 (<[s]>, <[ptr]>) - char *<[s]>; - char **<[ptr]>; - - __int16 _strtosfix16_r (<[reent]>, <[s]>, <[ptr]>) - char *<[reent]>; - char *<[s]>; - char **<[ptr]>; - - __int32 _strtosfix32_r (<[reent]>, <[s]>, <[ptr]>) - char *<[reent]>; - char *<[s]>; - char **<[ptr]>; - - __int64 _strtosfix64_r (<[reent]>, <[s]>, <[ptr]>) - char *<[reent]>; - char *<[s]>; - char **<[ptr]>; - DESCRIPTION The function <> converts the string <<*<[s]>>> to a fixed-point sign + 15-bits fraction representation. The function diff --git a/newlib/libc/machine/powerpc/strtoufix16.c b/newlib/libc/machine/powerpc/strtoufix16.c index d90255c0e..3bf2d6b29 100644 --- a/newlib/libc/machine/powerpc/strtoufix16.c +++ b/newlib/libc/machine/powerpc/strtoufix16.c @@ -15,7 +15,7 @@ INDEX INDEX _strtoufix64_r -ANSI_SYNOPSIS +SYNOPSIS #include __uint16_t strtoufix16 (const char *<[s]>, char **<[ptr]>); @@ -32,35 +32,6 @@ ANSI_SYNOPSIS __uint64_t _strtoufix64_r (void *<[reent]>, const char *<[s]>, char **<[ptr]>); -TRAD_SYNOPSIS - #include - __uint16_t strtoufix16 (<[s]>, <[ptr]>) - char *<[s]>; - char **<[ptr]>; - - __uint32_t strtoufix32 (<[s]>, <[ptr]>) - char *<[s]>; - char **<[ptr]>; - - __uint64_t strtoufix64 (<[s]>, <[ptr]>) - char *<[s]>; - char **<[ptr]>; - - __uint16_t _strtoufix16_r (<[reent]>, <[s]>, <[ptr]>) - char *<[reent]>; - char *<[s]>; - char **<[ptr]>; - - __uint32_t _strtoufix32_r (<[reent]>, <[s]>, <[ptr]>) - char *<[reent]>; - char *<[s]>; - char **<[ptr]>; - - __uint64_t _strtoufix64_r (<[reent]>, <[s]>, <[ptr]>) - char *<[reent]>; - char *<[s]>; - char **<[ptr]>; - DESCRIPTION The function <> converts the string <<*<[s]>>> to a fixed-point 16-bits fraction representation. The function diff --git a/newlib/libc/machine/powerpc/vec_calloc.c b/newlib/libc/machine/powerpc/vec_calloc.c index 5efe91049..8b2e835f0 100644 --- a/newlib/libc/machine/powerpc/vec_calloc.c +++ b/newlib/libc/machine/powerpc/vec_calloc.c @@ -8,22 +8,10 @@ INDEX INDEX _vec_calloc_r -ANSI_SYNOPSIS +SYNOPSIS #include void *vec_calloc(size_t <[n]>, size_t <[s]>); void *vec_calloc_r(void *<[reent]>, size_t , <[s]>); - -TRAD_SYNOPSIS - #include - char *vec_calloc(<[n]>, <[s]>) - size_t <[n]>, <[s]>; - - char *_vec_calloc_r(<[reent]>, <[n]>, <[s]>) - char *<[reent]>; - size_t <[n]>; - size_t <[s]>; - - DESCRIPTION Use <> to request a block of memory sufficient to hold an diff --git a/newlib/libc/machine/powerpc/vec_malloc.c b/newlib/libc/machine/powerpc/vec_malloc.c index 6bcad59b6..181f360f0 100644 --- a/newlib/libc/machine/powerpc/vec_malloc.c +++ b/newlib/libc/machine/powerpc/vec_malloc.c @@ -15,7 +15,7 @@ INDEX INDEX _vec_free_r -ANSI_SYNOPSIS +SYNOPSIS #include void *vec_malloc(size_t <[nbytes]>); void *vec_realloc(void *<[aptr]>, size_t <[nbytes]>); @@ -27,32 +27,6 @@ ANSI_SYNOPSIS void *<[aptr]>, size_t <[nbytes]>); void _vec_free_r(void *<[reent]>, void *<[aptr]>); - -TRAD_SYNOPSIS - #include - char *vec_malloc(<[nbytes]>) - size_t <[nbytes]>; - - char *vec_realloc(<[aptr]>, <[nbytes]>) - char *<[aptr]>; - size_t <[nbytes]>; - - void vec_free(<[aptr]>) - char *<[aptr]>; - - char *_vec_malloc_r(<[reent]>,<[nbytes]>) - char *<[reent]>; - size_t <[nbytes]>; - - char *_vec_realloc_r(<[reent]>, <[aptr]>, <[nbytes]>) - char *<[reent]>; - char *<[aptr]>; - size_t <[nbytes]>; - - void _vec_free_r(<[reent]>, <[aptr]>) - char *<[reent]>; - char *<[aptr]>; - DESCRIPTION These functions manage a pool of system memory that is 16-byte aligned.. diff --git a/newlib/libc/machine/powerpc/vfprintf.c b/newlib/libc/machine/powerpc/vfprintf.c index d264e2673..e0b90fcde 100644 --- a/newlib/libc/machine/powerpc/vfprintf.c +++ b/newlib/libc/machine/powerpc/vfprintf.c @@ -11,7 +11,7 @@ INDEX INDEX vsnprintf -ANSI_SYNOPSIS +SYNOPSIS #include #include int vprintf(const char *<[fmt]>, va_list <[list]>); @@ -28,53 +28,6 @@ ANSI_SYNOPSIS int _vsnprintf_r(void *<[reent]>, char *<[str]>, size_t <[size]>, const char *<[fmt]>, va_list <[list]>); -TRAD_SYNOPSIS - #include - #include - int vprintf( <[fmt]>, <[list]>) - char *<[fmt]>; - va_list <[list]>; - - int vfprintf(<[fp]>, <[fmt]>, <[list]>) - FILE *<[fp]>; - char *<[fmt]>; - va_list <[list]>; - - int vsprintf(<[str]>, <[fmt]>, <[list]>) - char *<[str]>; - char *<[fmt]>; - va_list <[list]>; - - int vsnprintf(<[str]>, <[size]>, <[fmt]>, <[list]>) - char *<[str]>; - size_t <[size]>; - char *<[fmt]>; - va_list <[list]>; - - int _vprintf_r(<[reent]>, <[fmt]>, <[list]>) - char *<[reent]>; - char *<[fmt]>; - va_list <[list]>; - - int _vfprintf_r(<[reent]>, <[fp]>, <[fmt]>, <[list]>) - char *<[reent]>; - FILE *<[fp]>; - char *<[fmt]>; - va_list <[list]>; - - int _vsprintf_r(<[reent]>, <[str]>, <[fmt]>, <[list]>) - char *<[reent]>; - char *<[str]>; - char *<[fmt]>; - va_list <[list]>; - - int _vsnprintf_r(<[reent]>, <[str]>, <[size]>, <[fmt]>, <[list]>) - char *<[reent]>; - char *<[str]>; - size_t <[size]>; - char *<[fmt]>; - va_list <[list]>; - DESCRIPTION <>, <>, <> and <> are (respectively) variants of <>, <>, <> and <>. They differ diff --git a/newlib/libc/machine/powerpc/vfscanf.c b/newlib/libc/machine/powerpc/vfscanf.c index 1520ceab8..6cbc624de 100644 --- a/newlib/libc/machine/powerpc/vfscanf.c +++ b/newlib/libc/machine/powerpc/vfscanf.c @@ -9,7 +9,7 @@ INDEX INDEX vsscanf -ANSI_SYNOPSIS +SYNOPSIS #include #include int vscanf(const char *restrict <[fmt]>, va_list <[list]>); @@ -23,40 +23,6 @@ ANSI_SYNOPSIS int _vsscanf_r(void *<[reent]>, const char *restrict <[str]>, const char *restrict <[fmt]>, va_list <[list]>); -TRAD_SYNOPSIS - #include - #include - int vscanf( <[fmt]>, <[ist]>) - char *<[fmt]>; - va_list <[list]>; - - int vfscanf( <[fp]>, <[fmt]>, <[list]>) - FILE *<[fp]>; - char *<[fmt]>; - va_list <[list]>; - - int vsscanf( <[str]>, <[fmt]>, <[list]>) - char *<[str]>; - char *<[fmt]>; - va_list <[list]>; - - int _vscanf_r( <[reent]>, <[fmt]>, <[ist]>) - char *<[reent]>; - char *<[fmt]>; - va_list <[list]>; - - int _vfscanf_r( <[reent]>, <[fp]>, <[fmt]>, <[list]>) - char *<[reent]>; - FILE *<[fp]>; - char *<[fmt]>; - va_list <[list]>; - - int _vsscanf_r( <[reent]>, <[str]>, <[fmt]>, <[list]>) - char *<[reent]>; - char *<[str]>; - char *<[fmt]>; - va_list <[list]>; - DESCRIPTION <>, <>, and <> are (respectively) variants of <>, <>, and <>. They differ only in