Commit 464e4eb0 464e4eb0588a2194438085284b9bbd1c13dc50fb by Sergey Poznyakoff

(stream_set_strerror,stream_strerror): Changed prototype

1 parent bba6da36
......@@ -127,7 +127,7 @@ extern int stream_set_flush __P ((stream_t,
int (*_flush) __PMT ((stream_t)), void *owner));
extern int stream_set_strerror __P ((stream_t stream,
int (*fp) (stream_t, const char **), void *owner));
int (*fp) (stream_t, char **), void *owner));
extern int stream_sequential_read __P((stream_t stream,
char *buf, size_t size, size_t *nbytes));
......@@ -138,7 +138,7 @@ extern int stream_sequential_readline __P((stream_t stream,
extern int stream_sequential_write __P((stream_t stream,
char *buf, size_t size));
extern int stream_strerror __P((stream_t stream, const char **p));
extern int stream_strerror __P((stream_t stream, char **p));
#ifdef __cplusplus
}
......
......@@ -643,7 +643,7 @@ stream_set_flags (stream_t stream, int fl)
int
stream_set_strerror (stream_t stream,
int (*fp) (stream_t, const char **), void *owner)
int (*fp) (stream_t, char **), void *owner)
{
if (stream == NULL)
return EINVAL;
......@@ -703,7 +703,7 @@ stream_sequential_write (stream_t stream, char *buf, size_t size)
}
int
stream_strerror (stream_t stream, const char **p)
stream_strerror (stream_t stream, char **p)
{
if (stream == NULL)
return EINVAL;
......