From: Guillem Jover Date: Wed, 2 Jan 2008 04:46:28 +0000 (+0200) Subject: Add a 'struct stat' forward declaration to fix a compilation warning X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9bcc24992c7f61ba5ad230f9214554d90dde574f;p=dpkg Add a 'struct stat' forward declaration to fix a compilation warning --- diff --git a/ChangeLog b/ChangeLog index 7ae840d2..294274ad 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-01-02 Guillem Jover + + * src/main.h (struct stat): New forward declaration. + 2008-01-02 Guillem Jover * lib/dpkg.h (warningf): Add PRINTFFORMAT attribute. diff --git a/src/main.h b/src/main.h index 10110942..15a8303a 100644 --- a/src/main.h +++ b/src/main.h @@ -178,6 +178,8 @@ void cu_closepipe(int argc, void **argv); void cu_closedir(int argc, void **argv); void cu_closefd(int argc, void **argv); +struct stat; + int ignore_depends(struct pkginfo *pkg); int force_breaks(struct deppossi *possi); int force_depends(struct deppossi *possi);