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

This commit is contained in:
darin%netscape.com 2002-08-07 02:17:48 +00:00
parent 05077396a4
commit f711dd8a88

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);