]> err.no Git - dpkg/commitdiff
* dselect/main.cc: Remove duplicated included files <sys/types.h> and
authorGuillem Jover <guillem@debian.org>
Wed, 21 Mar 2007 04:22:15 +0000 (04:22 +0000)
committerGuillem Jover <guillem@debian.org>
Wed, 21 Mar 2007 04:22:15 +0000 (04:22 +0000)
<sys/stat.h>. Move <fcntl.h> to the system block.

ChangeLog
dselect/main.cc

index b69eb1d75ebac62248ae170d85473a30eee5f5bd..b3468bf2229099ae36e11814c1b199610f702d70 100644 (file)
--- a/ChangeLog
+++ b/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').
index a45b7358b60a1cc8944dd8cb9e4baa9b328577a4..947d26797c5a254e8bbaa8920a1b11bab95bf53c 100644 (file)
@@ -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.");