diff options
Diffstat (limited to 'lib/rpmte.c')
-rw-r--r-- | lib/rpmte.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/rpmte.c b/lib/rpmte.c index 448a35af9..acc985f81 100644 --- a/lib/rpmte.c +++ b/lib/rpmte.c @@ -449,7 +449,8 @@ rpm_loff_t rpmtePkgFileSize(rpmte te) return (te != NULL ? te->pkgFileSize : 0); } -unsigned int rpmteHeaderSize(rpmte te) { +unsigned int rpmteHeaderSize(rpmte te) +{ return (te != NULL ? te->headerSize : 0); } @@ -478,7 +479,8 @@ void rpmteSetTSI(rpmte te, tsortInfo tsi) te->tsi = tsi; } -void rpmteSetDependsOn(rpmte te, rpmte depends) { +void rpmteSetDependsOn(rpmte te, rpmte depends) +{ te->depends = depends; } @@ -823,7 +825,8 @@ const char * rpmteTypeString(rpmte te) } } -rpmfs rpmteGetFileStates(rpmte te) { +rpmfs rpmteGetFileStates(rpmte te) +{ return te->fs; } |