diff options
author | Andrew Tridgell <tridge@samba.org> | 2006-09-10 14:19:38 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2006-09-10 14:19:38 +0000 |
commit | 11cda35f3270363752c1e298b56ab06e6cd04fbf (patch) | |
tree | 066b546a8fe7f03b3fc876b962d0df34ef2a3b32 /source/lib/replace/replace.c | |
parent | 78e8b3a77b4a64885cfc9e56bfc957f2f897f946 (diff) | |
download | samba-11cda35f3270363752c1e298b56ab06e6cd04fbf.tar.gz samba-11cda35f3270363752c1e298b56ab06e6cd04fbf.tar.xz samba-11cda35f3270363752c1e298b56ab06e6cd04fbf.zip |
r18343: fixed setlinebuf() prototype, added test for it, and use it in two
places to avoid a #ifdef
Diffstat (limited to 'source/lib/replace/replace.c')
-rw-r--r-- | source/lib/replace/replace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/lib/replace/replace.c b/source/lib/replace/replace.c index 048ea3a9984..aa3e8717c22 100644 --- a/source/lib/replace/replace.c +++ b/source/lib/replace/replace.c @@ -338,9 +338,9 @@ char *rep_inet_ntoa(struct in_addr ip) #endif #ifndef HAVE_SETLINEBUF -int rep_setlinebuf(FILE *stream) +void rep_setlinebuf(FILE *stream) { - return setvbuf(stream, (char *)NULL, _IOLBF, 0); + setvbuf(stream, (char *)NULL, _IOLBF, 0); } #endif /* HAVE_SETLINEBUF */ |