Fixed build under Dano (and probably Zeta, too); our headers used entry_ref resp.

BDirectory without declaring it first. Since that's an actual bug, I made the
changes in the Haiku headers, and copied them back to the build headers.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21562 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2007-07-04 23:20:05 +00:00
parent c913d07f6d
commit f9d99406ae
4 changed files with 20 additions and 62 deletions
+2
View File
@@ -8,6 +8,7 @@
#ifndef _MESSAGE_H
#define _MESSAGE_H
#include <BeBuild.h>
#include <DataIO.h>
#include <Flattenable.h>
@@ -21,6 +22,7 @@ class BBlockCache;
class BMessenger;
class BHandler;
class BString;
struct entry_ref;
// Name lengths and Scripting specifiers
+5 -28
View File
@@ -1,24 +1,14 @@
//----------------------------------------------------------------------
// This software is part of the OpenBeOS distribution and is covered
// by the OpenBeOS license.
//---------------------------------------------------------------------
/*!
\file Node.h
BNode and node_ref interface declarations.
/*
* Copyright 2002-2007, Haiku, Inc. All Rights Reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _NODE_H
#define _NODE_H
#include <Statable.h>
#ifdef USE_OPENBEOS_NAMESPACE
namespace OpenBeOS {
#endif
//---------------------------------------------------------------
// node_ref
//---------------------------------------------------------------
class BDirectory;
//! Reference structure to a particular vnode on a particular device
/*! <b>node_ref</b> - A node reference.
@@ -46,10 +36,6 @@ struct node_ref {
};
//---------------------------------------------------------------
// BNode
//---------------------------------------------------------------
//! A BNode represents a chunk of data in the filesystem.
/*! The BNode class provides an interface for manipulating the data and attributes
belonging to filesystem entries. The BNode is unaware of the name that refers
@@ -63,7 +49,6 @@ struct node_ref {
*/
class BNode : public BStatable {
public:
BNode();
BNode(const entry_ref *ref);
BNode(const BEntry *entry);
@@ -136,12 +121,4 @@ private:
status_t InitAttrDir();
};
#ifdef USE_OPENBEOS_NAMESPACE
}; // namespace OpenBeOS
#endif
#endif // _NODE_H
+2
View File
@@ -8,6 +8,7 @@
#ifndef _MESSAGE_H
#define _MESSAGE_H
#include <BeBuild.h>
#include <DataIO.h>
#include <Flattenable.h>
@@ -21,6 +22,7 @@ class BBlockCache;
class BMessenger;
class BHandler;
class BString;
struct entry_ref;
// Name lengths and Scripting specifiers
+5 -28
View File
@@ -1,24 +1,14 @@
//----------------------------------------------------------------------
// This software is part of the OpenBeOS distribution and is covered
// by the OpenBeOS license.
//---------------------------------------------------------------------
/*!
\file Node.h
BNode and node_ref interface declarations.
/*
* Copyright 2002-2007, Haiku, Inc. All Rights Reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _NODE_H
#define _NODE_H
#include <Statable.h>
#ifdef USE_OPENBEOS_NAMESPACE
namespace OpenBeOS {
#endif
//---------------------------------------------------------------
// node_ref
//---------------------------------------------------------------
class BDirectory;
//! Reference structure to a particular vnode on a particular device
/*! <b>node_ref</b> - A node reference.
@@ -40,10 +30,6 @@ struct node_ref {
};
//---------------------------------------------------------------
// BNode
//---------------------------------------------------------------
//! A BNode represents a chunk of data in the filesystem.
/*! The BNode class provides an interface for manipulating the data and attributes
belonging to filesystem entries. The BNode is unaware of the name that refers
@@ -57,7 +43,6 @@ struct node_ref {
*/
class BNode : public BStatable {
public:
BNode();
BNode(const entry_ref *ref);
BNode(const BEntry *entry);
@@ -130,12 +115,4 @@ private:
status_t InitAttrDir();
};
#ifdef USE_OPENBEOS_NAMESPACE
}; // namespace OpenBeOS
#endif
#endif // _NODE_H