rpm2cpio: use rpm_gettags
authorDenys Vlasenko <vda.linux@googlemail.com>
Thu, 10 Aug 2017 07:56:49 +0000 (09:56 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 10 Aug 2017 07:56:49 +0000 (09:56 +0200)
commit3c9b8fe25233dc52bbeec2ab29e49b8f62e4739b
treeba194a1dec44cc0bdc272277dc0b5c58933966dd
parente5650a40d4602c9a4ac7f3007d221bfb97dbf25a
rpm2cpio: use rpm_gettags

function                                             old     new   delta
rpm_gettags                                            -     451    +451
rpm2cpio_main                                        140      78     -62
skip_header                                           92       -     -92
rpm_main                                            1477    1049    -428
------------------------------------------------------------------------------
(add/remove: 1/1 grow/shrink: 0/2 up/down: 451/-582)         Total: -131 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
archival/rpm.c