Include rpmpgp.h only where it is actually needed
Include necessary headers that were previously transitively included by including rpmpgp.h.
This commit is contained in:
parent
eb75081305
commit
c2ef4dd2a7
|
@ -21,7 +21,6 @@
|
|||
#include <elfutils/libdwelf.h>
|
||||
#endif
|
||||
|
||||
#include <rpm/rpmpgp.h>
|
||||
#include <rpm/argv.h>
|
||||
#include <rpm/rpmfc.h>
|
||||
#include <rpm/rpmfileutil.h> /* rpmDoDigest() */
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
#include <rpm/rpmlog.h>
|
||||
#include <rpm/rpmfileutil.h>
|
||||
#include <rpm/rpmmacro.h>
|
||||
#include <rpm/rpmstring.h>
|
||||
#include "lib/rpmdb_internal.h"
|
||||
|
||||
#include "debug.h"
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
#include <rpm/rpmdb.h>
|
||||
#include <rpm/rpmds.h>
|
||||
#include <rpm/rpmfi.h>
|
||||
#include <rpm/rpmstring.h>
|
||||
|
||||
#include "lib/rpmts_internal.h"
|
||||
#include "lib/rpmte_internal.h"
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
#include "system.h"
|
||||
|
||||
#include <rpm/rpmfileutil.h> /* for rpmCleanPath */
|
||||
#include <rpm/rpmstring.h>
|
||||
#include <rpm/rpmts.h>
|
||||
#include <rpm/rpmsq.h>
|
||||
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
#include <rpm/header.h>
|
||||
#include <rpm/rpmtag.h>
|
||||
#include <rpm/rpmstring.h>
|
||||
#include <rpm/rpmpgp.h>
|
||||
#include "lib/misc.h" /* format function protos */
|
||||
|
||||
#include "debug.h"
|
||||
|
|
|
@ -4,9 +4,12 @@
|
|||
|
||||
#include "system.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include <rpm/rpmlog.h>
|
||||
#include <rpm/rpmfileutil.h>
|
||||
#include <rpm/argv.h>
|
||||
#include <rpm/rpmstring.h>
|
||||
|
||||
#include "lib/manifest.h"
|
||||
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
#include "system.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include <rpm/rpmcli.h>
|
||||
|
||||
#include "debug.h"
|
||||
|
|
|
@ -4,8 +4,10 @@
|
|||
*/
|
||||
|
||||
#include "system.h"
|
||||
#include <string.h>
|
||||
|
||||
#include <rpm/rpmcli.h>
|
||||
#include <rpm/rpmstring.h>
|
||||
#include "lib/rpmgi.h" /* XXX for giFlags */
|
||||
|
||||
#include "debug.h"
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
#include <rpm/rpmsq.h>
|
||||
#include <rpm/rpmlog.h>
|
||||
#include <rpm/rpmfileutil.h> /* rpmCleanPath */
|
||||
#include <rpm/rpmstring.h>
|
||||
|
||||
#include "lib/rpmgi.h"
|
||||
#include "lib/manifest.h"
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
#include <rpm/rpmfileutil.h>
|
||||
#include <rpm/rpmmacro.h>
|
||||
#include <rpm/rpmlog.h>
|
||||
#include <rpm/rpmstring.h>
|
||||
|
||||
#include "lib/rpmfs.h"
|
||||
#include "lib/misc.h"
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
#include <rpm/rpmte.h>
|
||||
#include <rpm/rpmfi.h>
|
||||
#include <rpm/rpmstring.h>
|
||||
#include <rpm/rpmstrpool.h>
|
||||
|
||||
#include "lib/rpmal.h"
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
#include <rpm/rpmtypes.h>
|
||||
#include <rpm/rpmurl.h>
|
||||
#include <rpm/rpmpgp.h>
|
||||
#include <rpm/rpmpgp.h>
|
||||
#include <rpm/rpmmacro.h>
|
||||
#include <rpm/rpmsq.h>
|
||||
#include <rpm/rpmstring.h>
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
#include <unistd.h>
|
||||
|
||||
#include <rpm/rpmtypes.h>
|
||||
#include <rpm/rpmpgp.h>
|
||||
|
||||
/** \ingroup rpmfiles
|
||||
* File types.
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "system.h"
|
||||
#include "lib/rpmfs.h"
|
||||
#include "debug.h"
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
#include "system.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <rpm/rpmtypes.h>
|
||||
#include <rpm/rpmlib.h> /* rpmReadPackageFile */
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
|
||||
#include "system.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include <rpm/rpmcli.h>
|
||||
#include <rpm/rpmtag.h>
|
||||
#include <rpm/rpmlib.h> /* rpmReadPackageFile, vercmp etc */
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
#include <rpm/header.h>
|
||||
#include <rpm/rpmtag.h>
|
||||
#include <rpm/rpmds.h> /* XXX move rpmlib provides to rpmds instead */
|
||||
#include <rpm/rpmpgp.h>
|
||||
#include <rpm/rpmver.h>
|
||||
|
||||
#ifdef _RPM_4_4_COMPAT
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <rpm/rpmlog.h>
|
||||
#include <rpm/rpmfileutil.h>
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
#include <rpm/rpmtd.h>
|
||||
#include <rpm/rpmstring.h>
|
||||
#include <rpm/rpmpgp.h>
|
||||
#include <rpm/rpmstrpool.h>
|
||||
#include "lib/misc.h" /* format function prototypes */
|
||||
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
#include <rpm/rpmmacro.h>
|
||||
#include <rpm/rpmds.h>
|
||||
#include <rpm/rpmfi.h>
|
||||
#include <rpm/rpmstring.h>
|
||||
#include <rpm/rpmts.h>
|
||||
#include <rpm/rpmdb.h>
|
||||
#include <rpm/rpmlog.h>
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
#include <rpm/rpmte.h>
|
||||
#include <rpm/rpmps.h>
|
||||
#include <rpm/rpmsw.h>
|
||||
#include <rpm/rpmpgp.h>
|
||||
#include <rpm/rpmfi.h>
|
||||
#include <rpm/rpmcallback.h>
|
||||
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
#include <rpm/rpmts.h>
|
||||
#include <rpm/rpmdb.h>
|
||||
#include <rpm/rpmfileutil.h>
|
||||
#include <rpm/rpmstring.h>
|
||||
|
||||
#include "lib/misc.h"
|
||||
#include "lib/rpmchroot.h"
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
#include "system.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <libaudit.h>
|
||||
|
||||
#include <rpm/rpmstring.h>
|
||||
#include <rpm/rpmts.h>
|
||||
#include "lib/rpmplugin.h"
|
||||
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
#include "system.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <dbus/dbus.h>
|
||||
#include <rpm/rpmlog.h>
|
||||
#include <rpm/rpmstring.h>
|
||||
#include <rpm/rpmts.h>
|
||||
#include <rpm/rpmdb.h>
|
||||
#include "lib/rpmplugin.h"
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
#include <rpm/rpmlog.h>
|
||||
#include <rpmio/rpmstring.h>
|
||||
#include <rpmio/rpmmacro.h>
|
||||
#include <rpmio/rpmpgp.h>
|
||||
|
||||
#include "lib/rpmfs.h"
|
||||
#include "lib/rpmplugin.h"
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#include "system.h"
|
||||
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#include <sys/resource.h>
|
||||
#if defined(__linux__)
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
#include "system.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <syslog.h>
|
||||
|
||||
#include <rpm/rpmstring.h>
|
||||
#include <rpm/rpmts.h>
|
||||
#include "lib/rpmplugin.h"
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#include "rpmsystem-py.h"
|
||||
|
||||
#include <rpm/rpmtypes.h>
|
||||
#include <rpm/rpmpgp.h>
|
||||
|
||||
#include "header-py.h"
|
||||
#include "rpmfi-py.h"
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#include "rpmsystem-py.h"
|
||||
|
||||
#include <rpm/rpmtypes.h>
|
||||
#include <rpm/rpmpgp.h>
|
||||
|
||||
#include "header-py.h"
|
||||
#include "rpmfi-py.h"
|
||||
|
|
1
rpm.c
1
rpm.c
|
@ -4,6 +4,7 @@
|
|||
#include <rpm/rpmlib.h> /* RPMSIGTAG, rpmReadPackageFile .. */
|
||||
#include <rpm/rpmlog.h>
|
||||
#include <rpm/rpmps.h>
|
||||
#include <rpm/rpmstring.h>
|
||||
#include <rpm/rpmts.h>
|
||||
|
||||
#include "cliutils.h"
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
|
||||
#include <rpm/rpmlib.h> /* rpmReadPackageFile .. */
|
||||
#include <rpm/rpmfi.h>
|
||||
#include <rpm/rpmstring.h>
|
||||
#include <rpm/rpmtag.h>
|
||||
#include <rpm/rpmio.h>
|
||||
#include <rpm/rpmpgp.h>
|
||||
#include <rpm/rpmurl.h>
|
||||
#include <rpm/rpmts.h>
|
||||
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
#include "system.h"
|
||||
|
||||
#include <rpm/rpmlib.h> /* rpmReadPackageFile .. */
|
||||
#include <rpm/rpmstring.h>
|
||||
#include <rpm/rpmtag.h>
|
||||
#include <rpm/rpmio.h>
|
||||
#include <rpm/rpmpgp.h>
|
||||
|
||||
#include <rpm/rpmts.h>
|
||||
#include <unistd.h>
|
||||
|
|
|
@ -13,8 +13,11 @@
|
|||
|
||||
#include "system.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include <rpm/rpmlog.h>
|
||||
#include <rpm/rpmmacro.h>
|
||||
#include <rpm/rpmstring.h>
|
||||
#include <rpm/rpmver.h>
|
||||
#include "rpmio/rpmmacro_internal.h"
|
||||
#include "debug.h"
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
|
||||
#include <rpm/rpmutil.h>
|
||||
#include <rpm/rpmio.h>
|
||||
#include <rpm/rpmpgp.h>
|
||||
#include <rpm/argv.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
#include <errno.h>
|
||||
#include <rpm/rpmlog.h>
|
||||
#include <rpm/rpmmacro.h>
|
||||
#include <rpm/rpmstring.h>
|
||||
#include "debug.h"
|
||||
|
||||
typedef struct rpmlogCtx_s * rpmlogCtx;
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#include "system.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include <rpm/rpmcli.h>
|
||||
#include <rpm/rpmlib.h> /* rpmReadPackageFile */
|
||||
#include <rpm/rpmdb.h>
|
||||
|
|
Loading…
Reference in New Issue