From: Michael Vogt Date: Thu, 27 Jan 2011 21:26:56 +0000 (+0100) Subject: apt-pkg/tagfile.{cc,h}: add comment, remove "inline" from pkgTagFile::Offset() X-Git-Tag: 0.9.0~91^2~1^2~4 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/4b2746d5ff7d6c5ed3b23a44a67fc323475cfd7d?ds=inline apt-pkg/tagfile.{cc,h}: add comment, remove "inline" from pkgTagFile::Offset() --- diff --git a/apt-pkg/tagfile.h b/apt-pkg/tagfile.h index 60d3c2cd0..68f1642d9 100644 --- a/apt-pkg/tagfile.h +++ b/apt-pkg/tagfile.h @@ -31,9 +31,11 @@ class pkgTagSection unsigned int Indexes[256]; unsigned int AlphaIndexes[0x100]; unsigned int TagCount; + // for later int *reserved1; int *reserved2; int *reserved3; + int *reserved4; /* This very simple hash function for the last 8 letters gives very good performance on the debian package files */ @@ -91,7 +93,7 @@ class pkgTagFile public: bool Step(pkgTagSection &Section); - inline unsigned long Offset(); + unsigned long Offset(); bool Jump(pkgTagSection &Tag,unsigned long Offset); pkgTagFile(FileFd *F,unsigned long Size = 32*1024);