Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
464e4eb0
...
464e4eb0588a2194438085284b9bbd1c13dc50fb
authored
2003-02-03 11:27:42 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(stream_set_strerror,stream_strerror): Changed prototype
1 parent
bba6da36
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
include/mailutils/stream.h
mailbox/stream.c
include/mailutils/stream.h
View file @
464e4eb
...
...
@@ -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
,
c
onst
c
har
**
),
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
,
c
onst
c
har
**
p
));
extern
int
stream_strerror
__P
((
stream_t
stream
,
char
**
p
));
#ifdef __cplusplus
}
...
...
mailbox/stream.c
View file @
464e4eb
...
...
@@ -643,7 +643,7 @@ stream_set_flags (stream_t stream, int fl)
int
stream_set_strerror
(
stream_t
stream
,
int
(
*
fp
)
(
stream_t
,
c
onst
c
har
**
),
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
,
c
onst
c
har
**
p
)
stream_strerror
(
stream_t
stream
,
char
**
p
)
{
if
(
stream
==
NULL
)
return
EINVAL
;
...
...
Please
register
or
sign in
to post a comment