The following commit has been merged in the master branch:
commit 7f30800717987b50cb887eedd2cf2f0e841a64e1
Author: Guillem Jover <[email protected]>
Date:   Thu Sep 24 23:27:53 2009 +0200

    libdpkg: Move buffer_arg declaration directly into buffer_data

diff --git a/lib/dpkg/buffer.h b/lib/dpkg/buffer.h
index d81dcfc..bc7adfa 100644
--- a/lib/dpkg/buffer.h
+++ b/lib/dpkg/buffer.h
@@ -43,13 +43,11 @@ DPKG_BEGIN_DECLS
 
 typedef struct buffer_data *buffer_data_t;
 
-typedef union buffer_arg {
-       void *ptr;
-       int i;
-} buffer_arg;
-
 struct buffer_data {
-       buffer_arg data;
+       union {
+               void *ptr;
+               int i;
+       } data;
        int type;
 };
 

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to