mshtml: Make nsACString_{Init,Finish}() static.
This commit is contained in:
parent
ee3c8794ea
commit
661208f088
|
@ -684,10 +684,8 @@ HRESULT call_set_active_object(IOleInPlaceUIWindow*,IOleInPlaceActiveObject*);
|
||||||
void *nsalloc(size_t) __WINE_ALLOC_SIZE(1);
|
void *nsalloc(size_t) __WINE_ALLOC_SIZE(1);
|
||||||
void nsfree(void*);
|
void nsfree(void*);
|
||||||
|
|
||||||
void nsACString_Init(nsACString*,const char*);
|
|
||||||
void nsACString_SetData(nsACString*,const char*);
|
void nsACString_SetData(nsACString*,const char*);
|
||||||
PRUint32 nsACString_GetData(const nsACString*,const char**);
|
PRUint32 nsACString_GetData(const nsACString*,const char**);
|
||||||
void nsACString_Finish(nsACString*);
|
|
||||||
|
|
||||||
void nsAString_Init(nsAString*,const PRUnichar*);
|
void nsAString_Init(nsAString*,const PRUnichar*);
|
||||||
void nsAString_SetData(nsAString*,const PRUnichar*);
|
void nsAString_SetData(nsAString*,const PRUnichar*);
|
||||||
|
|
|
@ -533,7 +533,7 @@ void nsfree(void *mem)
|
||||||
nsIMemory_Free(nsmem, mem);
|
nsIMemory_Free(nsmem, mem);
|
||||||
}
|
}
|
||||||
|
|
||||||
void nsACString_Init(nsACString *str, const char *data)
|
static void nsACString_Init(nsACString *str, const char *data)
|
||||||
{
|
{
|
||||||
NS_CStringContainerInit(str);
|
NS_CStringContainerInit(str);
|
||||||
if(data)
|
if(data)
|
||||||
|
@ -550,7 +550,7 @@ PRUint32 nsACString_GetData(const nsACString *str, const char **data)
|
||||||
return NS_CStringGetData(str, data, NULL);
|
return NS_CStringGetData(str, data, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
void nsACString_Finish(nsACString *str)
|
static void nsACString_Finish(nsACString *str)
|
||||||
{
|
{
|
||||||
NS_CStringContainerFinish(str);
|
NS_CStringContainerFinish(str);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue