From e3adba36cf84fe509562413931d8b6450b87d784 Mon Sep 17 00:00:00 2001 From: Earnie Boyd Date: Tue, 23 Oct 2012 09:05:03 -0400 Subject: [PATCH] https://sourceforge.net/tracker/?func=detail&aid=3166132&group_id=2435&atid=102435 * include/search.h (tdelete, tfind, tsearch): Correct declaration. --- ChangeLog | 6 ++++++ include/search.h | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index c79c383..4af179c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2012-10-23 Earnie Boyd + https://sourceforge.net/tracker/?func=detail&aid=3166132&group_id=2435&atid=102435 + + * include/search.h (tdelete, tfind, tsearch): Correct declaration. + +2012-10-23 Earnie Boyd + https://sourceforge.net/tracker/?func=detail&aid=3437558&group_id=2435&atid=102435 * include/amvideo.h (VIDEOINFO): Correct structure coding. diff --git a/include/search.h b/include/search.h index 69f1a7e..d25f0a1 100644 --- a/include/search.h +++ b/include/search.h @@ -81,13 +81,13 @@ typedef struct node { void * __cdecl tdelete (const void * __restrict__, void ** __restrict__, int (*)(const void *, const void *)) - __MINGW_ATTRIB_NONNULL (1) __MINGW_ATTRIB_NONNULL (3); + __MINGW_ATTRIB_NONNULL (2) __MINGW_ATTRIB_NONNULL (3); void * __cdecl tfind (const void *, void * const *, int (*)(const void *, const void *)) - __MINGW_ATTRIB_NONNULL (1) __MINGW_ATTRIB_NONNULL (3); + __MINGW_ATTRIB_NONNULL (2) __MINGW_ATTRIB_NONNULL (3); void * __cdecl tsearch (const void *, void **, int (*)(const void *, const void *)) - __MINGW_ATTRIB_NONNULL (1) __MINGW_ATTRIB_NONNULL (3); + __MINGW_ATTRIB_NONNULL (2) __MINGW_ATTRIB_NONNULL (3); void __cdecl twalk (const void *, void (*)(const void *, VISIT, int)); #ifndef _NO_OLDNAMES -- 2.11.0