Browse Source

libdpkg: Remove buffer_copy_PtrPtr and buffer_copy_PtrInt functions

Those were instantiated from the buffer_copy_TYPE macro, but not used
anymore.
Guillem Jover 15 years ago
parent
commit
4e51e727e7
2 changed files with 0 additions and 8 deletions
  1. 0 2
      lib/dpkg/buffer.c
  2. 0 6
      lib/dpkg/buffer.h

+ 0 - 2
lib/dpkg/buffer.c

@@ -244,5 +244,3 @@ buffer_copy_##name(type1 n1, int typeIn, \
 
 buffer_copy_TYPE(IntInt, int, i, int, i);
 buffer_copy_TYPE(IntPtr, int, i, void *, ptr);
-buffer_copy_TYPE(PtrInt, void *, ptr, int, i);
-buffer_copy_TYPE(PtrPtr, void *, ptr, void *, ptr);

+ 0 - 6
lib/dpkg/buffer.h

@@ -70,12 +70,6 @@ struct buffer_data {
 		                   limit, __VA_ARGS__); \
 	}
 
-off_t buffer_copy_PtrInt(void *p, int typeIn, int i, int typeOut,
-                         off_t limit, const char *desc,
-                         ...) DPKG_ATTR_PRINTF(6);
-off_t buffer_copy_PtrPtr(void *p1, int typeIn, void *p2, int typeOut,
-                         off_t limit, const char *desc,
-                         ...) DPKG_ATTR_PRINTF(6);
 off_t buffer_copy_IntPtr(int i, int typeIn, void *p, int typeOut,
                          off_t limit, const char *desc,
                          ...) DPKG_ATTR_PRINTF(6);