bug-gnulib
[Top][All Lists]
Advanced

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

'oset' module fix


From: Bruno Haible
Subject: 'oset' module fix
Date: Wed, 4 Oct 2006 18:54:16 +0200
User-agent: KMail/1.9.1

Hi,

I'm applying this. That this bug stayed so long is an indication that most
compilers nowadays support 'inline'.


2006-10-03  Bruno Haible  <address@hidden>

        * gl_oset.c (gl_oset_add): Fix return type.

*** gnulib-20060928/lib/gl_oset.c       2006-09-19 00:51:16.000000000 +0200
--- gnulib-20060928-modified/lib/gl_oset.c      2006-10-03 19:29:40.000000000 
+0200
***************
*** 46,52 ****
    return ((const struct gl_oset_impl_base *) set)->vtable->search (set, elt);
  }
  
! void
  gl_oset_add (gl_oset_t set, const void *elt)
  {
    return ((const struct gl_oset_impl_base *) set)->vtable->add (set, elt);
--- 46,52 ----
    return ((const struct gl_oset_impl_base *) set)->vtable->search (set, elt);
  }
  
! bool
  gl_oset_add (gl_oset_t set, const void *elt)
  {
    return ((const struct gl_oset_impl_base *) set)->vtable->add (set, elt);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]