C++ fixes for gcc3

This commit is contained in:
naddy 2002-09-29 17:32:35 +00:00
parent 10f220d8d4
commit 43697d1881
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,21 @@
$OpenBSD: patch-LinkedList_hh,v 1.1 2002/09/29 17:32:35 naddy Exp $
--- LinkedList.hh.orig Sun Sep 29 19:30:26 2002
+++ LinkedList.hh Sun Sep 29 19:31:52 2002
@@ -50,7 +50,7 @@ private:
__llist *list;
__llist_node *node;
- friend __llist;
+ friend class __llist;
protected:
@@ -73,7 +73,7 @@ private:
__llist_node *_first, *_last;
__llist *iterators;
- friend __llist_iterator;
+ friend class __llist_iterator;
protected:

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-Timer_hh,v 1.1 2002/09/29 17:32:35 naddy Exp $
--- Timer.hh.orig Sun Sep 29 19:30:35 2002
+++ Timer.hh Sun Sep 29 19:31:05 2002
@@ -47,7 +47,7 @@ public:
class BTimer {
- friend BaseDisplay;
+ friend class BaseDisplay;
private:
BaseDisplay *display;
TimeoutHandler *handler;