Просмотр исходного кода

libdpkg: Move TARBLKSZ macro definition to tarfn.h

Guillem Jover лет назад: 16
Родитель
Сommit
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,