Browse Source

libdpkg: Move buffer_arg declaration directly into buffer_data

Guillem Jover 17 years ago
parent
commit
7f30800717
1 changed files with 4 additions and 6 deletions
  1. 4 6
      lib/dpkg/buffer.h

+ 4 - 6
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;
 };