From: Sascha Wildner Date: Thu, 28 Mar 2013 22:32:39 +0000 (+0100) Subject: libc: Fix -Wreturn-type. X-Git-Tag: v3.4.0rc~17 X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/0e8c1121a56b5b177178653748a07a6d40556204 libc: Fix -Wreturn-type. --- diff --git a/lib/libc/stdio/open_memstream.c b/lib/libc/stdio/open_memstream.c index a3011a492d..9b5edc4d95 100644 --- a/lib/libc/stdio/open_memstream.c +++ b/lib/libc/stdio/open_memstream.c @@ -114,6 +114,7 @@ memstream_closefn(void *cookie) sync_pub_cookie(c); free(c); + return (0); } FILE *