This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

stdlib/stdlib.h change to initstate



Hi Uli,

you changed in stdlib.h without a real ChangeLog entry the state
functions for random (initstate, setstate etc.):
-extern void *initstate (unsigned int __seed, void *__statebuf,
+extern char *initstate (unsigned int __seed, char *__statebuf,
                        size_t __statelen) __THROW;

But this change is not reflected in the implememtation of these
files.  Is this required by any standards?  In this case the files
stdlib/random.c etc and include/stdlib.h should also be changed to 
use char instead of void.  I can send a patch if you confirm that 
the change from void* to char* is correct.

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.rhein-neckar.de

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]