public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowitz@sourceware.org>
To: newlib-cvs@sourceware.org
Subject: [newlib-cygwin] search: remove TRAD_SYNOPSIS
Date: Fri, 01 Dec 2017 09:43:00 -0000	[thread overview]
Message-ID: <20171201094313.74151.qmail@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=bf3a554bc65b563c437ee9b46c1b8b915e1a056b

commit bf3a554bc65b563c437ee9b46c1b8b915e1a056b
Author: Yaakov Selkowitz <yselkowi@redhat.com>
Date:   Thu Nov 30 01:41:48 2017 -0600

    search: remove TRAD_SYNOPSIS
    
    Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>

Diff:
---
 newlib/libc/search/bsearch.c | 10 +---------
 newlib/libc/search/qsort.c   | 10 +---------
 newlib/libc/search/qsort_r.c | 11 +----------
 3 files changed, 3 insertions(+), 28 deletions(-)

diff --git a/newlib/libc/search/bsearch.c b/newlib/libc/search/bsearch.c
index d874e79..579633c 100644
--- a/newlib/libc/search/bsearch.c
+++ b/newlib/libc/search/bsearch.c
@@ -20,20 +20,12 @@ FUNCTION
 INDEX
 	bsearch
 
-ANSI_SYNOPSIS
+SYNOPSIS
 	#include <stdlib.h>
 	void *bsearch(const void *<[key]>, const void *<[base]>,
 		size_t <[nmemb]>, size_t <[size]>,
 		int (*<[compar]>)(const void *, const void *));
 
-TRAD_SYNOPSIS
-	#include <stdlib.h>
-	char *bsearch(<[key]>, <[base]>, <[nmemb]>, <[size]>, <[compar]>)
-	char *<[key]>;
-	char *<[base]>;
-	size_t <[nmemb]>, <[size]>;
-	int (*<[compar]>)();
-
 DESCRIPTION
 <<bsearch>> searches an array beginning at <[base]> for any element
 that matches <[key]>, using binary search.  <[nmemb]> is the element
diff --git a/newlib/libc/search/qsort.c b/newlib/libc/search/qsort.c
index bf6285f..9a8e7fa 100644
--- a/newlib/libc/search/qsort.c
+++ b/newlib/libc/search/qsort.c
@@ -5,19 +5,11 @@ FUNCTION
 INDEX
 	qsort
 
-ANSI_SYNOPSIS
+SYNOPSIS
 	#include <stdlib.h>
 	void qsort(void *<[base]>, size_t <[nmemb]>, size_t <[size]>,
 		   int (*<[compar]>)(const void *, const void *) );
 
-TRAD_SYNOPSIS
-	#include <stdlib.h>
-	qsort(<[base]>, <[nmemb]>, <[size]>, <[compar]> )
-	char *<[base]>;
-	size_t <[nmemb]>;
-	size_t <[size]>;
-	int (*<[compar]>)();
-
 DESCRIPTION
 <<qsort>> sorts an array (beginning at <[base]>) of <[nmemb]> objects.
 <[size]> describes the size of each element of the array.
diff --git a/newlib/libc/search/qsort_r.c b/newlib/libc/search/qsort_r.c
index 9073061..c4b6fb7 100644
--- a/newlib/libc/search/qsort_r.c
+++ b/newlib/libc/search/qsort_r.c
@@ -5,7 +5,7 @@ FUNCTION
 INDEX
 	qsort_r
 
-ANSI_SYNOPSIS
+SYNOPSIS
 	#define _BSD_SOURCE
 	#include <stdlib.h>
 	void qsort_r(void *<[base]>, size_t <[nmemb]>, size_t <[size]>,
@@ -18,15 +18,6 @@ ANSI_SYNOPSIS
 		     int (*<[compar]>)(const void *, const void *, void *),
 		     void *<[thunk]>);
 
-TRAD_SYNOPSIS
-	#include <stdlib.h>
-	qsort_r(<[base]>, <[nmemb]>, <[size]>, <[compar]>, <[thumb]>)
-	char *<[base]>;
-	size_t <[nmemb]>;
-	size_t <[size]>;
-	int (*<[compar]>)();
-	char *<[thumb]>;
-
 DESCRIPTION
 <<qsort_r>> sorts an array (beginning at <[base]>) of <[nmemb]> objects.
 <[size]> describes the size of each element of the array.


                 reply	other threads:[~2017-12-01  9:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171201094313.74151.qmail@sourceware.org \
    --to=yselkowitz@sourceware.org \
    --cc=newlib-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).