summaryrefslogtreecommitdiff
path: root/rpmio/rpmpgp.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-05-19 14:59:02 +0300
committerPanu Matilainen <pmatilai@redhat.com>2010-05-19 14:59:02 +0300
commit072815887faa202a60b5ca310e6e5cbfbfbeac5d (patch)
tree6cc72d30461e475da339b7c5d177982f711fe0b3 /rpmio/rpmpgp.c
parent0e0e332b466a9784620c483faa374067381e96ce (diff)
downloadlibrpm-tizen-072815887faa202a60b5ca310e6e5cbfbfbeac5d.tar.gz
librpm-tizen-072815887faa202a60b5ca310e6e5cbfbfbeac5d.tar.bz2
librpm-tizen-072815887faa202a60b5ca310e6e5cbfbfbeac5d.zip
Bury struct pgpValTbl_s definition inside rpmpgp.c
- as all the value tables are static inside rpmpgp.c, exposing this is pointless (should've been unexported long time ago)
Diffstat (limited to 'rpmio/rpmpgp.c')
-rw-r--r--rpmio/rpmpgp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/rpmio/rpmpgp.c b/rpmio/rpmpgp.c
index 854174e3c..24e1caa75 100644
--- a/rpmio/rpmpgp.c
+++ b/rpmio/rpmpgp.c
@@ -23,6 +23,11 @@ static int _print = 0;
static int _crypto_initialized = 0;
static int _new_process = 1;
+typedef const struct pgpValTbl_s {
+ int val;
+ char const * const str;
+} * pgpValTbl;
+
static struct pgpValTbl_s const pgpSigTypeTbl[] = {
{ PGPSIGTYPE_BINARY, "Binary document signature" },
{ PGPSIGTYPE_TEXT, "Text document signature" },