Fixed an oversight of yesterday's restructuring:

* FDCloser is private, so it should live in BPackageKit::BHPKG::BPrivate
* adjusted 'package' binary to no longer use FDCloser (trivial)
* minor cleanup in command_extract.cpp

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40329 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Oliver Tappe
2011-01-31 08:50:37 +00:00
parent 8f621df7f5
commit ae53f5526b
2 changed files with 9 additions and 8 deletions
+7 -3
View File
@@ -2,14 +2,16 @@
* Copyright 2009, Ingo Weinhold, [email protected].
* Distributed under the terms of the MIT License.
*/
#ifndef _PACKAGE__HPKG__FD_CLOSER_H_
#define _PACKAGE__HPKG__FD_CLOSER_H_
#ifndef _PACKAGE__HPKG__PRIVATE__FD_CLOSER_H_
#define _PACKAGE__HPKG__PRIVATE__FD_CLOSER_H_
namespace BPackageKit {
namespace BHPKG {
namespace BPrivate {
struct FDCloser {
FDCloser(int fd)
@@ -29,9 +31,11 @@ private:
};
} // namespace BPrivate
} // namespace BHPKG
} // namespace BPackageKit
#endif // _PACKAGE__HPKG__FD_CLOSER_H_
#endif // _PACKAGE__HPKG__PRIVATE__FD_CLOSER_H_