瀏覽代碼

dpkg: Move <dpkg/tarfn.h> inclusion from cleanup.c to archives.h

The former is not using any declarations from tarfn.h, but the latter
is.
Guillem Jover 15 年之前
父節點
當前提交
fa406fa856
共有 2 個文件被更改,包括 2 次插入1 次删除
  1. 2 0
      src/archives.h
  2. 0 1
      src/cleanup.c

+ 2 - 0
src/archives.h

@@ -23,6 +23,8 @@
 
 #include <stdbool.h>
 
+#include <dpkg/tarfn.h>
+
 struct tarcontext {
   int backendpipe;
   struct pkginfo *pkg;

+ 0 - 1
src/cleanup.c

@@ -37,7 +37,6 @@
 #include <dpkg/i18n.h>
 #include <dpkg/dpkg.h>
 #include <dpkg/dpkg-db.h>
-#include <dpkg/tarfn.h>
 #include <dpkg/myopt.h>
 
 #include "filesdb.h"