зеркало из https://github.com/mozilla/gecko-dev.git
reduce Macintosh compiler warnings by adding prototype
This commit is contained in:
Родитель
2ad8ae0483
Коммит
7bc19df3f9
|
@ -72,4 +72,7 @@ public:
|
|||
|
||||
};
|
||||
|
||||
/* prototypes */
|
||||
void PR_CALLBACK NS_ScriptErrorReporter(JSContext *cx, const char *message, JSErrorReport *report);
|
||||
|
||||
#endif /* nsJSEnvironment_h___ */
|
||||
|
|
|
@ -85,6 +85,7 @@ private:
|
|||
|
||||
|
||||
|
||||
nsresult NS_NewRangeList(nsICollection **);
|
||||
nsresult NS_NewRangeList(nsICollection **aRangeList)
|
||||
{
|
||||
nsRangeList *rlist = new nsRangeList;
|
||||
|
|
|
@ -160,5 +160,9 @@ private:
|
|||
friend PR_CALLBACK PRIntn NS_RemoveFrameInfoEntries(PLHashEntry*, PRIntn, void*);
|
||||
};
|
||||
|
||||
/* prototypes */
|
||||
PR_CALLBACK PLHashNumber
|
||||
NS_HashNumber(const void* key);
|
||||
|
||||
#endif /* nsSpaceManager_h___ */
|
||||
|
||||
|
|
|
@ -160,5 +160,9 @@ private:
|
|||
friend PR_CALLBACK PRIntn NS_RemoveFrameInfoEntries(PLHashEntry*, PRIntn, void*);
|
||||
};
|
||||
|
||||
/* prototypes */
|
||||
PR_CALLBACK PLHashNumber
|
||||
NS_HashNumber(const void* key);
|
||||
|
||||
#endif /* nsSpaceManager_h___ */
|
||||
|
||||
|
|
|
@ -79,6 +79,7 @@ protected:
|
|||
nsGenericDOMDataNode mInner;
|
||||
};
|
||||
|
||||
nsresult NS_NewTextNode(nsIHTMLContent** aInstancePtrResult);
|
||||
nsresult
|
||||
NS_NewTextNode(nsIHTMLContent** aInstancePtrResult)
|
||||
{
|
||||
|
|
|
@ -46,6 +46,7 @@ static NS_DEFINE_IID(kIDOMHTMLInputElementIID, NS_IDOMHTMLINPUTELEMENT_IID);
|
|||
#define NS_DESIRED_RADIOBOX_SIZE 12
|
||||
|
||||
|
||||
nsresult NS_NewRadioControlFrame(nsIFrame*& aResult);
|
||||
nsresult
|
||||
NS_NewRadioControlFrame(nsIFrame*& aResult)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче