Explorar el Código

libdpkg: Move TARBLKSZ macro definition to tarfn.h

Guillem Jover hace 16 años
padre
commit
572a8d1dfb
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 0 2
      lib/dpkg/dpkg.h
  2. 2 0
      lib/dpkg/tarfn.h

+ 0 - 2
lib/dpkg/dpkg.h

@@ -112,8 +112,6 @@ DPKG_BEGIN_DECLS
 
 #define FIND_EXPRSTARTCHARS "-(),!"
 
-#define TARBLKSZ	512
-
 extern const char thisname[]; /* defined separately in each program */
 
 /*** from startup.c ***/

+ 2 - 0
lib/dpkg/tarfn.h

@@ -26,6 +26,8 @@
 #include <unistd.h>
 #include <stdlib.h>
 
+#define TARBLKSZ	512
+
 enum tar_format {
 	tar_format_old,
 	tar_format_gnu,