diff options
author | Guillem Jover <guillem@debian.org> | 2009-10-17 02:38:03 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2009-10-26 05:19:55 +0100 |
commit | 1c88ead04c95096f03b61a6032d443a327964926 (patch) | |
tree | 1772837ea55c7ecd2b9d5f62042041ab45aa4918 /dselect/pkgdepcon.cc | |
parent | ff33aa430e6de845a089a6a023a9478dafa109cc (diff) | |
download | dpkg-1c88ead04c95096f03b61a6032d443a327964926.tar.gz |
Sort order of header includes
Place first <config.h> and <compat.h>, then all <sys/*.h> sorted by
complexity, followed by the rest of the system headers, then <dpkg/*.h>
and finally the local "*.h" ones.
Move <dpkg/i18n.h> inclusion into libdpkg inclusion block, as the
<gettext.h> compatibility header already takes care of including
<locale.h> before <libintl.h> on environments were its probamatic.
Removed duplicated inclusions.
Diffstat (limited to 'dselect/pkgdepcon.cc')
-rw-r--r-- | dselect/pkgdepcon.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dselect/pkgdepcon.cc b/dselect/pkgdepcon.cc index 3e00393ce..ef9c82ad9 100644 --- a/dselect/pkgdepcon.cc +++ b/dselect/pkgdepcon.cc @@ -22,9 +22,9 @@ #include <config.h> #include <compat.h> -#include <stdio.h> -#include <string.h> #include <assert.h> +#include <string.h> +#include <stdio.h> #include <dpkg/dpkg.h> #include <dpkg/dpkg-db.h> |