From: Guillem Jover Date: Thu, 20 Mar 2008 05:13:19 +0000 (+0200) Subject: dpkg-deb: Change return type for safe_fflush from int to void X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=505c8c097324a234d5434d202808bcb17732bd17;p=dpkg dpkg-deb: Change return type for safe_fflush from int to void --- diff --git a/ChangeLog b/ChangeLog index 165bb26d..b68e4d00 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-03-20 Guillem Jover + + * dpkg-deb/extract.c (safe_fflush): Change return type from int to + void. + 2008-03-20 Ian Jackson * lib/dpkg.h (cisspace): New prototype. diff --git a/dpkg-deb/extract.c b/dpkg-deb/extract.c index e98e03cd..907a7054 100644 --- a/dpkg-deb/extract.c +++ b/dpkg-deb/extract.c @@ -85,7 +85,7 @@ parseheaderlength(const char *inh, size_t len, return (size_t)r; } -static int +static void safe_fflush(FILE *f) { #if defined(__GLIBC__) && (__GLIBC__ == 2) && (__GLIBC_MINOR__ > 0)