fixing planetoid (mach-o) bustage... GCC 2.95.2 seems awfully picky!

git-svn-id: svn://10.0.0.236/trunk@126577 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
darin%netscape.com
2002-08-07 02:17:48 +00:00
parent 5010911a5d
commit bf8d9a2755

View File

@@ -43,7 +43,6 @@ class nsDiskCacheStreamIO : public nsIStreamIO {
// we're implementing nsIStreamIO to leverage the AsyncRead on the FileTransport thread
public:
nsDiskCacheStreamIO(nsDiskCacheBinding * binding);
virtual ~nsDiskCacheStreamIO();
@@ -74,6 +73,9 @@ public:
private:
// GCC 2.95.2 requires this to be defined, although we never call it.
nsDiskCacheStreamIO() { NS_NOTREACHED("oops"); }
nsresult OpenCacheFile(PRIntn flags, PRFileDesc ** fd);
nsresult ReadCacheBlocks();
nsresult FlushBufferToFile(PRBool clearBuffer);