Przeglądaj źródła

libdpkg: Move TARBLKSZ macro definition to tarfn.h

Guillem Jover 16 lat temu
rodzic
commit
572a8d1dfb
2 zmienionych plików z 2 dodań i 2 usunięć
  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,