From 9bcc24992c7f61ba5ad230f9214554d90dde574f Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Wed, 2 Jan 2008 06:46:28 +0200 Subject: [PATCH] Add a 'struct stat' forward declaration to fix a compilation warning --- ChangeLog | 4 ++++ src/main.h | 2 ++ 2 files changed, 6 insertions(+) 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); -- 2.39.5