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 /src/enquiry.c | |
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 'src/enquiry.c')
-rw-r--r-- | src/enquiry.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/enquiry.c b/src/enquiry.c index 2a6fb1b01..b314ca0e1 100644 --- a/src/enquiry.c +++ b/src/enquiry.c @@ -23,20 +23,20 @@ #include <config.h> #include <compat.h> -#include <dpkg/i18n.h> - -#include <stdbool.h> -#include <stdio.h> -#include <string.h> -#include <stdlib.h> -#include <assert.h> -#include <unistd.h> #include <sys/types.h> -#include <sys/stat.h> #include <sys/ioctl.h> +#include <sys/stat.h> #include <sys/termios.h> + +#include <assert.h> +#include <string.h> #include <fcntl.h> +#include <unistd.h> +#include <stdbool.h> +#include <stdlib.h> +#include <stdio.h> +#include <dpkg/i18n.h> #include <dpkg/dpkg.h> #include <dpkg/dpkg-db.h> #include <dpkg/myopt.h> |