summaryrefslogtreecommitdiff
path: root/lib/fsm.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-01-30 17:05:29 +0200
committerPanu Matilainen <pmatilai@redhat.com>2008-01-30 17:05:29 +0200
commiteb5dc35c196c2b18e934a046627ee59d54e175d6 (patch)
tree8c1eac42d934698687b7e38e74b6e2dca3548bca /lib/fsm.c
parentd2efb5d77c0a3a2f5919d40efe5e163254422b6f (diff)
downloadrpm-eb5dc35c196c2b18e934a046627ee59d54e175d6.tar.gz
rpm-eb5dc35c196c2b18e934a046627ee59d54e175d6.tar.bz2
rpm-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 'lib/fsm.c')
-rw-r--r--lib/fsm.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/lib/fsm.c b/lib/fsm.c
index 7f51659c4..192d344aa 100644
--- a/lib/fsm.c
+++ b/lib/fsm.c
@@ -5,20 +5,16 @@
#include "system.h"
-#include "rpmio/rpmio_internal.h" /* fdGet/SetCpioPos, fdInit/FiniDigest */
+#include <rpm/rpmte.h>
+#include <rpm/rpmts.h>
+#include <rpm/rpmsq.h>
+#include <rpm/rpmlog.h>
+#include "rpmio/rpmio_internal.h" /* fdGet/SetCpioPos, fdInit/FiniDigest */
#include "lib/cpio.h"
-
#include "lib/fsm.h"
#define fsmUNSAFE fsmStage
-
-#include <rpm/rpmlog.h>
-
#include "lib/rpmfi_internal.h" /* XXX fi->apath, fi->action... */
-#include <rpm/rpmte.h>
-#include <rpm/rpmts.h>
-#include <rpm/rpmsq.h>
-
#include "rpmio/ugid.h" /* XXX unameToUid() and gnameToGid() */
#include "debug.h"