More class/struct mixup fixes.

Spotted by Clang.
This commit is contained in:
Augustin Cavalier
2018-06-18 23:16:50 -04:00
parent fe17f0df1f
commit 9216fc0178
22 changed files with 36 additions and 35 deletions
@@ -15,7 +15,7 @@
#include "Types.h"
class entry_ref;
struct entry_ref;
class CpuState;
class ExpressionInfo;
+2 -1
View File
@@ -27,7 +27,8 @@
#define OP_SMALL_ARC_TO_CCW 0x08000000
struct shape_data : public BReferenceable {
class shape_data : public BReferenceable {
public:
uint32* opList;
BPoint* ptList;
int32 opCount;
+1 -1
View File
@@ -450,7 +450,7 @@ HashMap<Key, Value>::Size() const
// GetIterator
template<typename Key, typename Value>
struct HashMap<Key, Value>::Iterator
class HashMap<Key, Value>::Iterator
HashMap<Key, Value>::GetIterator() const
{
return Iterator(this);
@@ -9,8 +9,8 @@
#include "virtio_blk.h"
struct DMAResource;
struct IOScheduler;
class DMAResource;
class IOScheduler;
static const uint8 kDriveIcon[] = {
@@ -13,8 +13,8 @@
#include "RPCServer.h"
class OpenStateCookie;
class OpenState;
struct OpenStateCookie;
struct OpenState;
class NFS4Object {
public:
@@ -17,7 +17,7 @@
class FileSystem;
class OpenFileCookie;
struct OpenFileCookie;
class NFS4Server : public RPC::ProgramData {
public:
@@ -57,7 +57,7 @@ struct DirEntry {
~DirEntry();
};
class LockInfo;
struct LockInfo;
class ReplyInterpreter {
public:
@@ -14,7 +14,7 @@
#include "RPCServer.h"
class Cookie;
struct Cookie;
class FileSystem;
class Request {
@@ -19,9 +19,9 @@
#include "XDR.h"
class OpenState;
class LockInfo;
class LockOwner;
struct OpenState;
struct LockInfo;
struct LockOwner;
class RequestBuilder {
public:
@@ -16,7 +16,7 @@
class Gravity;
class GravitySource;
struct GravitySource;
class GravityView : public BGLView {
+1 -1
View File
@@ -37,7 +37,7 @@ class BMenuItem;
class BMessage;
class BMessageRunner;
class BPopUpMenu;
class CalcOptions;
struct CalcOptions;
class CalcOptionsWindow;
class ExpressionTextView;
+1 -1
View File
@@ -16,7 +16,7 @@
#include <Query.h>
struct QueryList;
class QueryList;
class QueryListener {
+1 -1
View File
@@ -18,7 +18,7 @@ enum {
};
class UTF8Char;
struct UTF8Char;
class TerminalCharClassifier {
public:
@@ -14,7 +14,7 @@
#include "ValueNodeContainer.h"
class entry_ref;
struct entry_ref;
class Architecture;
class AreaInfo;
class BFile;
+2 -2
View File
@@ -50,8 +50,8 @@
namespace {
struct Directory;
struct Node;
class Directory;
class Node;
struct WatcherHashDefinition;
typedef BOpenHashTable<WatcherHashDefinition> WatcherMap;
+5 -5
View File
@@ -2,7 +2,7 @@
//
// Copyright (c) 2003, OpenBeOS
//
// This software is part of the OpenBeOS distribution and is covered
// This software is part of the OpenBeOS distribution and is covered
// by the MIT License.
//
//
@@ -10,7 +10,7 @@
// Author: Sikosis, Jérôme Duval
// Description: Media Preferences
// Created : June 25, 2003
//
//
// ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
#ifndef __MEDIALISTITEM_H__
#define __MEDIALISTITEM_H__
@@ -22,7 +22,7 @@
struct dormant_node_info;
class MediaIcons;
struct MediaIcons;
class MediaWindow;
class AudioMixerListItem;
@@ -45,10 +45,10 @@ public:
virtual void Update(BView* owner, const BFont* font);
virtual void DrawItem(BView* owner, BRect frame,
bool complete = false);
virtual const char* Label() = 0;
static MediaIcons* Icons() {return sIcons;}
static void SetIcons(MediaIcons* icons) {sIcons = icons;}
+1 -1
View File
@@ -14,7 +14,7 @@
Used to discriminate between different targets in order to filter
multi-clicks. A click on a different target resets the click count.
*/
struct ClickTarget {
class ClickTarget {
public:
enum Type {
TYPE_INVALID,
@@ -33,7 +33,7 @@ class RemotePainter;
class ServerBitmap;
class ServerCursor;
class ServerFont;
class ViewLineArrayInfo;
struct ViewLineArrayInfo;
enum {
RP_INIT_CONNECTION = 1,
+2 -2
View File
@@ -17,8 +17,8 @@
class BMessageRunner;
class dhcp_message;
class socket_timeout;
struct dhcp_message;
struct socket_timeout;
enum dhcp_state {
+2 -2
View File
@@ -30,9 +30,9 @@
#include <List.h>
#include <OS.h>
class entry_ref;
struct entry_ref;
class RosterAppInfo;
struct RosterAppInfo;
// AppInfoList
class AppInfoList {
@@ -12,7 +12,7 @@
#include "AppInfoList.h"
#include "MessageDeliverer.h"
class RosterAppInfo;
struct RosterAppInfo;
class AppInfoListMessagingTargetSet : public MessagingTargetSet {
public:
+3 -3
View File
@@ -29,9 +29,9 @@ class DebugDumper;
struct ThreadData;
class ThreadProcessing;
struct CPUEntry;
struct CoreEntry;
struct PackageEntry;
class CPUEntry;
class CoreEntry;
class PackageEntry;
// The run queues. Holds the threads ready to run ordered by priority.
// One queue per schedulable target per core. Additionally, each