[haiku-commits] Re: r42618 - haiku/trunk/headers/posix

  • From: scottmc <scottmc2@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 10 Aug 2011 13:46:01 -0700

===================================================================
>> --- haiku/trunk/headers/posix/stdio.h    2011-08-10 15:51:00 UTC (rev 42617)
>> +++ haiku/trunk/headers/posix/stdio.h    2011-08-10 19:14:49 UTC (rev 42618)
>> @@ -97,7 +97,7 @@
>>
>>  /* memory streams */
>>  extern FILE        *fmemopen(void *buf, size_t size, const char *mode);
>> -extern FILE        *open_memstream(void **buf, size_t *size);
>> +extern FILE        *open_memstream(char **buf, size_t *size);
>>
>>  /* file I/O */
>>  extern int        fflush(FILE *stream);
>
> Did you forgot to commit the source side of this change?
>
> CU, Ingo
>
>

I assume that this matches up to
src/system/libroot/posix/glibc/libio/memstream.c, and there it was
already using char, so it would appear that it was just a typo in the
header file.
-scottmc

Other related posts: