mshtml: Make nsACString_{Init,Finish}() static.

This commit is contained in:
Francois Gouget 2009-12-04 11:43:19 +01:00 committed by Alexandre Julliard
parent ee3c8794ea
commit 661208f088
2 changed files with 2 additions and 4 deletions

View File

@ -684,10 +684,8 @@ HRESULT call_set_active_object(IOleInPlaceUIWindow*,IOleInPlaceActiveObject*);
void *nsalloc(size_t) __WINE_ALLOC_SIZE(1);
void nsfree(void*);
void nsACString_Init(nsACString*,const char*);
void nsACString_SetData(nsACString*,const char*);
PRUint32 nsACString_GetData(const nsACString*,const char**);
void nsACString_Finish(nsACString*);
void nsAString_Init(nsAString*,const PRUnichar*);
void nsAString_SetData(nsAString*,const PRUnichar*);

View File

@ -533,7 +533,7 @@ void nsfree(void *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);
if(data)
@ -550,7 +550,7 @@ PRUint32 nsACString_GetData(const nsACString *str, const char **data)
return NS_CStringGetData(str, data, NULL);
}
void nsACString_Finish(nsACString *str)
static void nsACString_Finish(nsACString *str)
{
NS_CStringContainerFinish(str);
}