diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-01-30 17:05:29 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-01-30 17:05:29 +0200 |
commit | eb5dc35c196c2b18e934a046627ee59d54e175d6 (patch) | |
tree | 8c1eac42d934698687b7e38e74b6e2dca3548bca /python | |
parent | d2efb5d77c0a3a2f5919d40efe5e163254422b6f (diff) | |
download | librpm-tizen-eb5dc35c196c2b18e934a046627ee59d54e175d6.tar.gz librpm-tizen-eb5dc35c196c2b18e934a046627ee59d54e175d6.tar.bz2 librpm-tizen-eb5dc35c196c2b18e934a046627ee59d54e175d6.zip |
Include spring-cleaning
- put some consistency into include ordering
- everything (apart from bits missed ;) is now ordered like this
1. "system.h"
2. other system includes
3. rpm public headers
4. rpm private headers
5. "debug.h"
Diffstat (limited to 'python')
-rw-r--r-- | python/header-py.c | 3 | ||||
-rw-r--r-- | python/rpmal-py.c | 1 | ||||
-rw-r--r-- | python/rpmdb-py.c | 1 | ||||
-rw-r--r-- | python/rpmfi-py.c | 1 | ||||
-rw-r--r-- | python/rpmmacro-py.c | 5 | ||||
-rw-r--r-- | python/rpmps-py.c | 1 | ||||
-rw-r--r-- | python/rpmte-py.c | 1 |
7 files changed, 6 insertions, 7 deletions
diff --git a/python/header-py.c b/python/header-py.c index 4e747bacf..c39d43269 100644 --- a/python/header-py.c +++ b/python/header-py.c @@ -7,11 +7,10 @@ #include <rpm/rpmlib.h> /* rpmvercmp */ #include <rpm/rpmtag.h> #include <rpm/rpmstring.h> +#include <rpm/rpmts.h> /* XXX rpmtsCreate/rpmtsFree */ #include "lib/legacy.h" /* XXX expand/compressFilelist(), providePackageNVR() */ -#include <rpm/rpmts.h> /* XXX rpmtsCreate/rpmtsFree */ - #include "header-py.h" #include "rpmds-py.h" #include "rpmfi-py.h" diff --git a/python/rpmal-py.c b/python/rpmal-py.c index 38ecfcd54..6a125d3f0 100644 --- a/python/rpmal-py.c +++ b/python/rpmal-py.c @@ -4,7 +4,6 @@ #include "system.h" - #include "rpmal-py.h" #include "rpmds-py.h" #include "rpmfi-py.h" diff --git a/python/rpmdb-py.c b/python/rpmdb-py.c index 945e41865..c6d6ccbaf 100644 --- a/python/rpmdb-py.c +++ b/python/rpmdb-py.c @@ -5,6 +5,7 @@ #include "system.h" #include <rpm/rpmtag.h> + #include "rpmdb-py.h" #include "rpmmi-py.h" #include "header-py.h" diff --git a/python/rpmfi-py.c b/python/rpmfi-py.c index fc8271917..731deb5ff 100644 --- a/python/rpmfi-py.c +++ b/python/rpmfi-py.c @@ -5,6 +5,7 @@ #include "system.h" #include <rpm/rpmtag.h> + #include "header-py.h" #include "rpmfi-py.h" diff --git a/python/rpmmacro-py.c b/python/rpmmacro-py.c index 9e58ef277..cc4965aa0 100644 --- a/python/rpmmacro-py.c +++ b/python/rpmmacro-py.c @@ -4,11 +4,12 @@ #include "system.h" -#include "structmember.h" +#include <structmember.h> -#include "rpmmacro-py.h" #include <rpm/rpmmacro.h> +#include "rpmmacro-py.h" + #include "debug.h" /** diff --git a/python/rpmps-py.c b/python/rpmps-py.c index 4d880d3f4..1914c6c6b 100644 --- a/python/rpmps-py.c +++ b/python/rpmps-py.c @@ -4,7 +4,6 @@ #include "system.h" - #include "rpmps-py.h" #include "debug.h" diff --git a/python/rpmte-py.c b/python/rpmte-py.c index 3e591a654..0ded63e7c 100644 --- a/python/rpmte-py.c +++ b/python/rpmte-py.c @@ -4,7 +4,6 @@ #include "system.h" - #include "header-py.h" /* XXX tagNumFromPyObject */ #include "rpmds-py.h" #include "rpmfi-py.h" |