- Fix build with gcc41

PR:		ports/104054
Submitted by:	trasz <trasz@pin.if.uz.zgora.pl>
This commit is contained in:
Martin Wilke 2006-10-06 20:33:53 +00:00
parent e2a1c28c4d
commit 422318ef21
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=174677
2 changed files with 27 additions and 3 deletions

View File

@ -1,5 +1,5 @@
--- cmn/locator.h.dist Sat Mar 22 20:35:30 2003
+++ cmn/locator.h Sat Oct 25 21:42:46 2003
--- cmn/locator.h.orig Sat Mar 22 20:35:30 2003
+++ cmn/locator.h Fri Oct 6 13:44:36 2006
@@ -47,7 +47,8 @@
@ -10,3 +10,18 @@
#include "utils.h"
#include "coord.h"
@@ -108,12 +109,12 @@
// Only valid if mapped || flash.
- OLgridEntry *gridEntry;
+ class OLgridEntry *gridEntry;
// Set by OLgridEntry::insert. Not nec. valid.
GLoc gloc;
#if X11
// Only valid if mapped || flash.
- OLshadowEntry *shadowEntry;
+ class OLshadowEntry *shadowEntry;
// Set by OLshadowEntry::insert. Not nec. valid.
GLoc shadowGloc;
#endif

View File

@ -1,5 +1,5 @@
--- cmn/utils.cpp.orig Wed Mar 19 10:05:12 2003
+++ cmn/utils.cpp Sat Oct 25 21:45:15 2003
+++ cmn/utils.cpp Fri Oct 6 13:45:47 2006
@@ -30,16 +30,17 @@
// Include Files
@ -24,3 +24,12 @@
#endif
#ifdef WIN32
@@ -761,7 +762,7 @@
private:
- Bucket* HashTable::_get(int &index,void* key);
+ Bucket* _get(int &index,void* key);
/* MODIFIES: index */
/* EFFECTS: Internal helper function. Return the Bucket containing key
or NULL if not found. Set index to the bucket list for key whether