]> err.no Git - dpkg/commitdiff
Add a 'struct stat' forward declaration to fix a compilation warning
authorGuillem Jover <guillem@debian.org>
Wed, 2 Jan 2008 04:46:28 +0000 (06:46 +0200)
committerGuillem Jover <guillem@debian.org>
Wed, 2 Jan 2008 04:46:28 +0000 (06:46 +0200)
ChangeLog
src/main.h

index 7ae840d2162654c75cbfaae35ced8582d55613c5..294274ad7b6c51b3633b9a9bdc81b71a9073a0aa 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-01-02  Guillem Jover  <guillem@debian.org>
+
+       * src/main.h (struct stat): New forward declaration.
+
 2008-01-02  Guillem Jover  <guillem@debian.org>
 
        * lib/dpkg.h (warningf): Add PRINTFFORMAT attribute.
index 10110942f4ded752488acc835168d0a6ae237e58..15a8303a4e9db70b53dbfe9e3ee80d21f66ae1c0 100644 (file)
@@ -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);