add #includes and prototypes to reduce compiler warnings on Macintosh

git-svn-id: svn://10.0.0.236/trunk@16995 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
brade%netscape.com
1998-12-30 16:05:27 +00:00
parent de46138715
commit 5df088c603

View File

@@ -22,6 +22,9 @@
#include "nspr.h"
#include "plevent.h"
#include "net.h" /* needed for net_CallExitRoutineProxy prototype below */
#include "nsIStreamListener.h" /* needed for ns_NewStreamListenerProxy prototype below */
#include "nsINetService.h" /* needed for NS_InitializeHttpURLFactory prototype below */
class nsNetlibThread
{
@@ -42,5 +45,19 @@ private:
PRThread* mThread;
};
extern "C" void NET_ClientProtocolInitialize();
nsresult NS_InitNetlib(void);
nsIStreamListener* ns_NewStreamListenerProxy(nsIStreamListener* aListener);
extern "C" MODULE_PRIVATE void
net_CallExitRoutineProxy(Net_GetUrlExitFunc* exit_routine,
URL_Struct* URL_s,
int status,
FO_Present_Types format_out,
MWContext* window_id);
extern "C" NS_NET nsresult
NS_InitializeHttpURLFactory(nsINetService* inet);
#endif /* nsNetThread_h__ */