kernel: Correct class/struct mixups.
Almost certainly harmless. Spotted by Clang.
This commit is contained in:
@@ -148,9 +148,9 @@ protected:
|
|||||||
status_t Init(const char* name, uint32 allocationFlags);
|
status_t Init(const char* name, uint32 allocationFlags);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
friend class VMAddressSpace;
|
friend struct VMAddressSpace;
|
||||||
friend class VMKernelAddressSpace;
|
friend struct VMKernelAddressSpace;
|
||||||
friend class VMUserAddressSpace;
|
friend struct VMUserAddressSpace;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void SetBase(addr_t base) { fBase = base; }
|
void SetBase(addr_t base) { fBase = base; }
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
|
|
||||||
struct kernel_args;
|
struct kernel_args;
|
||||||
class ObjectCache;
|
struct ObjectCache;
|
||||||
|
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
allocations won't fail */
|
allocations won't fail */
|
||||||
#define B_DELETE_IO_REQUEST 0x04 /* delete request when finished */
|
#define B_DELETE_IO_REQUEST 0x04 /* delete request when finished */
|
||||||
|
|
||||||
struct DMABuffer;
|
class DMABuffer;
|
||||||
struct IOOperation;
|
struct IOOperation;
|
||||||
|
|
||||||
typedef struct IOOperation io_operation;
|
typedef struct IOOperation io_operation;
|
||||||
@@ -85,8 +85,8 @@ private:
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
class IORequest;
|
struct IORequest;
|
||||||
class IORequestOwner;
|
struct IORequestOwner;
|
||||||
|
|
||||||
|
|
||||||
class IORequestChunk {
|
class IORequestChunk {
|
||||||
|
|||||||
@@ -31,8 +31,8 @@
|
|||||||
namespace Scheduler {
|
namespace Scheduler {
|
||||||
|
|
||||||
|
|
||||||
struct CPUEntry;
|
class CPUEntry;
|
||||||
struct CoreEntry;
|
class CoreEntry;
|
||||||
|
|
||||||
const int kLowLoad = kMaxLoad * 20 / 100;
|
const int kLowLoad = kMaxLoad * 20 / 100;
|
||||||
const int kTargetLoad = kMaxLoad * 55 / 100;
|
const int kTargetLoad = kMaxLoad * 55 / 100;
|
||||||
|
|||||||
@@ -93,7 +93,7 @@ private:
|
|||||||
typedef BOpenHashTable<Definition, false, false,
|
typedef BOpenHashTable<Definition, false, false,
|
||||||
InternalAllocator> HashTable;
|
InternalAllocator> HashTable;
|
||||||
|
|
||||||
friend class Definition;
|
friend struct Definition;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void _ResizeHashTableIfNeeded(uint32 flags);
|
void _ResizeHashTableIfNeeded(uint32 flags);
|
||||||
|
|||||||
@@ -94,7 +94,7 @@ private:
|
|||||||
Area* GetArea() const;
|
Area* GetArea() const;
|
||||||
};
|
};
|
||||||
|
|
||||||
friend class MetaChunk;
|
friend struct MetaChunk;
|
||||||
typedef DoublyLinkedList<MetaChunk> MetaChunkList;
|
typedef DoublyLinkedList<MetaChunk> MetaChunkList;
|
||||||
|
|
||||||
struct Area : DoublyLinkedListLinkImpl<Area> {
|
struct Area : DoublyLinkedListLinkImpl<Area> {
|
||||||
|
|||||||
@@ -18,7 +18,6 @@
|
|||||||
#include "slab_debug.h"
|
#include "slab_debug.h"
|
||||||
|
|
||||||
|
|
||||||
class AllocationTrackingInfo;
|
|
||||||
struct ResizeRequest;
|
struct ResizeRequest;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user