Use proper addressing for our public headers everywhere

This commit is contained in:
Panu Matilainen 2022-03-09 13:37:10 +02:00
parent fb104a12eb
commit 2f0f3be64d
9 changed files with 15 additions and 15 deletions

View File

@ -22,9 +22,9 @@
#include <rpm/rpmio.h>
#include <rpm/rpmlog.h>
#include <rpm/rpmstring.h>
#include <rpm/rpmarchive.h>
#include "lib/cpio.h"
#include "lib/rpmarchive.h"
#include "debug.h"

View File

@ -11,6 +11,7 @@
#include <rpm/rpmstring.h>
#include <rpm/rpmmacro.h> /* XXX rpmCleanPath */
#include <rpm/rpmds.h>
#include <rpm/rpmbase64.h>
#include <errno.h>
#include <fcntl.h>
@ -20,7 +21,6 @@
#include "lib/fsm.h" /* rpmpsm stuff for now */
#include "lib/rpmug.h"
#include "rpmio/rpmio_internal.h" /* fdInit/FiniDigest */
#include "rpmio/rpmbase64.h"
#include "debug.h"

View File

@ -16,9 +16,9 @@
#include <rpm/rpmfiles.h>
#include <rpm/rpmtypes.h>
#include <rpm/rpmlog.h>
#include <rpmio/rpmstring.h>
#include <rpmio/rpmmacro.h>
#include <rpmio/rpmpgp.h>
#include <rpm/rpmstring.h>
#include <rpm/rpmmacro.h>
#include <rpm/rpmpgp.h>
#include "lib/rpmfs.h"
#include "lib/rpmplugin.h"

View File

@ -8,8 +8,8 @@
#include <rpm/rpmfiles.h>
#include <rpm/rpmtypes.h>
#include <rpm/rpmlog.h>
#include <rpmio/rpmstring.h>
#include <rpmio/rpmmacro.h>
#include <rpm/rpmstring.h>
#include <rpm/rpmmacro.h>
#include "lib/rpmfs.h"
#include "lib/rpmplugin.h"

View File

@ -23,7 +23,7 @@ librpmio_la_SOURCES = \
rpmio_internal.h rpmhook.h rpmvercmp.c rpmver.c \
rpmstring.c rpmfileutil.c rpmglob.c \
rpmkeyring.c rpmstrpool.c rpmmacro_internal.h \
rpmlua.c rpmlua.h rpmcrypto.h
rpmlua.c rpmlua.h
if WITH_OPENSSL
librpmio_la_SOURCES += digest_openssl.c

View File

@ -7,7 +7,7 @@ extern char *optarg;
extern int optind;
#endif
#include "rpmio/argv.h"
#include <rpm/argv.h>
#include "rpmio/rpmmacro_internal.h"
int rgetopt(int argc, char * const argv[], const char *opts,

View File

@ -12,8 +12,8 @@
#include <rpm/rpmlog.h> /* rpmlog */
#include <rpm/rpmfi.h>
#include <rpm/rpmcrypto.h> /* rpmDigestLength */
#include "lib/header.h" /* HEADERGET_MINMEM */
#include "lib/rpmtypes.h" /* rpmRC */
#include <rpm/header.h> /* HEADERGET_MINMEM */
#include <rpm/rpmtypes.h> /* rpmRC */
#include "sign/rpmsignfiles.h"

View File

@ -10,12 +10,12 @@
#include <rpm/rpmlog.h> /* rpmlog */
#include <rpm/rpmfi.h>
#include <rpm/rpmcrypto.h> /* rpmDigestLength */
#include "lib/header.h" /* HEADERGET_MINMEM */
#include <rpm/header.h> /* HEADERGET_MINMEM */
#include <rpm/rpmtypes.h> /* rpmRC */
#include <rpm/rpmbase64.h>
#include "lib/header_internal.h"
#include "lib/rpmtypes.h" /* rpmRC */
#include <libfsverity.h>
#include "rpmio/rpmio_internal.h"
#include "rpmio/rpmbase64.h"
#include "lib/rpmvs.h"
#include "sign/rpmsignverity.h"

View File

@ -61,7 +61,7 @@ char * stpncpy(char * dest, const char * src, size_t n);
extern int fdatasync(int fildes);
#endif
#include "rpmio/rpmutil.h"
#include <rpm/rpmutil.h>
/* compatibility macros to avoid a mass-renaming all over the codebase */
#define xmalloc(_size) rmalloc((_size))
#define xmallocn(_nmemb, _size) rreallocn(NULL, (_nmemb), (_size))