Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-3]: src/include Pull up revision 1.18 (requested by drochner in t...



details:   https://anonhg.NetBSD.org/src/rev/c99fa5b30c55
branches:  netbsd-3
changeset: 576832:c99fa5b30c55
user:      tron <tron%NetBSD.org@localhost>
date:      Thu Aug 04 17:35:05 2005 +0000

description:
Pull up revision 1.18 (requested by drochner in ticket #632):
The source array of lsearch() shouldn't be "const".
Being here, cleanup the const castaway stuff.

diffstat:

 include/search.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 5aee6e860f15 -r c99fa5b30c55 include/search.h
--- a/include/search.h  Thu Aug 04 17:34:59 2005 +0000
+++ b/include/search.h  Thu Aug 04 17:35:05 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: search.h,v 1.16.2.1 2005/03/23 00:17:16 tron Exp $     */
+/*     $NetBSD: search.h,v 1.16.2.2 2005/08/04 17:35:05 tron Exp $     */
 
 /*
  * Written by J.T. Conklin <jtc%NetBSD.org@localhost>
@@ -52,7 +52,7 @@
 
 void   *lfind(const void *, const void *, size_t *, size_t,
                      int (*)(const void *, const void *));
-void   *lsearch(const void *, const void *, size_t *, size_t,
+void   *lsearch(const void *, void *, size_t *, size_t,
                      int (*)(const void *, const void *));
 void    insque(void *, void *);
 void    remque(void *);



Home | Main Index | Thread Index | Old Index