Module Name:    src
Committed By:   christos
Date:           Sat Nov 27 18:33:55 UTC 2010

Modified Files:
        src/lib/libc/stdlib: bsearch.c

Log Message:
ansify


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/lib/libc/stdlib/bsearch.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/stdlib/bsearch.c
diff -u src/lib/libc/stdlib/bsearch.c:1.13 src/lib/libc/stdlib/bsearch.c:1.14
--- src/lib/libc/stdlib/bsearch.c:1.13	Mon Nov 28 22:12:00 2005
+++ src/lib/libc/stdlib/bsearch.c	Sat Nov 27 13:33:54 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: bsearch.c,v 1.13 2005/11/29 03:12:00 christos Exp $	*/
+/*	$NetBSD: bsearch.c,v 1.14 2010/11/27 18:33:54 christos Exp $	*/
 
 /*
  * Copyright (c) 1990, 1993
@@ -34,7 +34,7 @@
 #if 0
 static char sccsid[] = "@(#)bsearch.c	8.1 (Berkeley) 6/4/93";
 #else
-__RCSID("$NetBSD: bsearch.c,v 1.13 2005/11/29 03:12:00 christos Exp $");
+__RCSID("$NetBSD: bsearch.c,v 1.14 2010/11/27 18:33:54 christos Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -59,12 +59,8 @@
  * look at item 3.
  */
 void *
-bsearch(key, base0, nmemb, size, compar)
-	const void *key;
-	const void *base0;
-	size_t nmemb;
-	size_t size;
-	int (*compar) __P((const void *, const void *));
+bsearch(const void *key, const void *base0, size_t nmemb, size_t size,
+    int (*compar)(const void *, const void *))
 {
 	const char *base = base0;
 	size_t lim;

Reply via email to