summaryrefslogtreecommitdiff
path: root/dselect/pkgtop.cc
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2009-10-17 02:38:03 +0200
committerGuillem Jover <guillem@debian.org>2009-10-26 05:19:55 +0100
commit1c88ead04c95096f03b61a6032d443a327964926 (patch)
tree1772837ea55c7ecd2b9d5f62042041ab45aa4918 /dselect/pkgtop.cc
parentff33aa430e6de845a089a6a023a9478dafa109cc (diff)
downloaddpkg-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/pkgtop.cc')
-rw-r--r--dselect/pkgtop.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/dselect/pkgtop.cc b/dselect/pkgtop.cc
index d3765fe5b..94278c54b 100644
--- a/dselect/pkgtop.cc
+++ b/dselect/pkgtop.cc
@@ -22,13 +22,12 @@
#include <config.h>
#include <compat.h>
-#include <dpkg/i18n.h>
-
-#include <stdio.h>
-#include <string.h>
#include <assert.h>
#include <ctype.h>
+#include <string.h>
+#include <stdio.h>
+#include <dpkg/i18n.h>
#include <dpkg/dpkg.h>
#include <dpkg/dpkg-db.h>