Преглед изворни кода

libdpkg: Move TARBLKSZ macro definition to tarfn.h

Guillem Jover пре 16 година
родитељ
комит
572a8d1dfb
2 измењених фајлова са 2 додато и 2 уклоњено
  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,