michal-grzedzicki / rpms / rpm

Forked from rpms/rpm 5 months ago
Clone

Blame SOURCES/0002-Drop-internal-only-visibility-on-rpmvs-related-API.patch

0b2921
From 3fd79a5564df97d512be283c5c8a4da2e7ef8bce Mon Sep 17 00:00:00 2001
0b2921
Message-Id: <3fd79a5564df97d512be283c5c8a4da2e7ef8bce.1554983206.git.pmatilai@redhat.com>
0b2921
In-Reply-To: <2ec0832287bd1443ebf336f8a98293f30bfa2036.1554983205.git.pmatilai@redhat.com>
0b2921
References: <2ec0832287bd1443ebf336f8a98293f30bfa2036.1554983205.git.pmatilai@redhat.com>
0b2921
From: Panu Matilainen <pmatilai@redhat.com>
0b2921
Date: Mon, 18 Mar 2019 15:29:18 +0200
0b2921
Subject: [PATCH 2/3] Drop internal-only visibility on rpmvs-related API
0b2921
0b2921
Makes it possible to use rpmvs API from eg librpmsign which we'll
0b2921
need in the next commit. We need to make select parts of this
0b2921
actually public eventually but for now...
0b2921
---
0b2921
 lib/rpmvs.h | 12 ------------
0b2921
 1 file changed, 12 deletions(-)
0b2921
0b2921
diff --git a/lib/rpmvs.h b/lib/rpmvs.h
0b2921
index a836d5c94..025895500 100644
0b2921
--- a/lib/rpmvs.h
0b2921
+++ b/lib/rpmvs.h
0b2921
@@ -48,41 +48,29 @@ typedef int (*rpmsinfoCb)(struct rpmsinfo_s *sinfo, void *cbdata);
0b2921
 extern "C" {
0b2921
 #endif
0b2921
 
0b2921
-RPM_GNUC_INTERNAL
0b2921
 const char *rpmsinfoDescr(struct rpmsinfo_s *sinfo);
0b2921
 
0b2921
-RPM_GNUC_INTERNAL
0b2921
 char *rpmsinfoMsg(struct rpmsinfo_s *sinfo);
0b2921
 
0b2921
-RPM_GNUC_INTERNAL
0b2921
 struct rpmvs_s *rpmvsCreate(int vfylevel, rpmVSFlags vsflags, rpmKeyring keyring);
0b2921
 
0b2921
-RPM_GNUC_INTERNAL
0b2921
 void rpmvsInit(struct rpmvs_s *vs, hdrblob blob, rpmDigestBundle bundle);
0b2921
 
0b2921
-RPM_GNUC_INTERNAL
0b2921
 rpmVSFlags rpmvsFlags(struct rpmvs_s *vs);
0b2921
 
0b2921
-RPM_GNUC_INTERNAL
0b2921
 struct rpmvs_s *rpmvsFree(struct rpmvs_s *sis);
0b2921
 
0b2921
-RPM_GNUC_INTERNAL
0b2921
 void rpmvsAppendTag(struct rpmvs_s *sis, hdrblob blob, rpmTagVal tag);
0b2921
 
0b2921
-RPM_GNUC_INTERNAL
0b2921
 void rpmvsInitRange(struct rpmvs_s *sis, int range);
0b2921
 
0b2921
-RPM_GNUC_INTERNAL
0b2921
 void rpmvsFiniRange(struct rpmvs_s *sis, int range);
0b2921
 
0b2921
-RPM_GNUC_INTERNAL
0b2921
 int rpmvsRange(struct rpmvs_s *vs);
0b2921
 
0b2921
-RPM_GNUC_INTERNAL
0b2921
 int rpmvsVerify(struct rpmvs_s *sis, int type,
0b2921
                        rpmsinfoCb cb, void *cbdata);
0b2921
 
0b2921
-RPM_GNUC_INTERNAL
0b2921
 rpmRC rpmpkgRead(struct rpmvs_s *vs, FD_t fd,
0b2921
 		hdrblob *sigblobp, hdrblob *blobp, char **emsg);
0b2921
 
0b2921
-- 
0b2921
2.20.1
0b2921