瀏覽代碼

* dselect/main.cc: Remove duplicated included files <sys/types.h> and
<sys/stat.h>. Move <fcntl.h> to the system block.

Guillem Jover 19 年之前
父節點
當前提交
09af45b299
共有 2 個文件被更改,包括 6 次插入4 次删除
  1. 5 0
      ChangeLog
  2. 1 4
      dselect/main.cc

+ 5 - 0
ChangeLog

@@ -1,3 +1,8 @@
+2007-03-21  Guillem Jover  <guillem@debian.org>
+
+	* dselect/main.cc: Remove duplicated included files <sys/types.h> and
+	<sys/stat.h>. Move <fcntl.h> to the system block.
+
 2007-03-21  Guillem Jover  <guillem@debian.org>
 
 	* dselect/method.h: Fix typo in copyright year ('20001'-> '2001').

+ 1 - 4
dselect/main.cc

@@ -29,6 +29,7 @@ extern "C" {
 #include <sys/stat.h>
 #include <sys/types.h>
 #include <sys/wait.h>
+#include <fcntl.h>
 #include <errno.h>
 #include <unistd.h>
 #include <dirent.h>
@@ -47,10 +48,6 @@ extern "C" {
 #include "bindings.h"
 #include "pkglist.h"
 
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <fcntl.h>
-
 const char thisname[]= DSELECT;
 const char printforhelp[]= N_("Type dselect --help for help.");