Changeset 97388276e8cf…
Parent 98c4f12faa6e…
by
Changes to one file · Browse files at 97388276e8cf Showing diff from parent 98c4f12faa6e Diff from another changeset...
@@ -86,6 +86,15 @@
static std::auto_ptr<dirstate> read(const char *path);
void add(const direntry& e) { entries.push_back(e); }
+
+private:
+ static uint32_t ntohl(uint32_t x)
+ {
+ return ((x & 0x000000ffUL) << 24) |
+ ((x & 0x0000ff00UL) << 8) |
+ ((x & 0x00ff0000UL) >> 8) |
+ ((x & 0xff000000UL) >> 24);
+ }
};
@@ -111,15 +120,6 @@dirstatecache* dirstatecache::_cache = 0;
-static uint32_t ntohl(uint32_t x)
-{
- return ((x & 0x000000ffUL) << 24) |
- ((x & 0x0000ff00UL) << 8) |
- ((x & 0x00ff0000UL) >> 8) |
- ((x & 0xff000000UL) >> 24);
-}
-
-
std::auto_ptr<dirstate> dirstate::read(const char *path)
{
direntry e;
|
Loading...