Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson

This commit is contained in:
sfraser@netscape.com
2002-01-30 21:14:20 +00:00
parent 7ac259ed05
commit a2578325bc
138 changed files with 140 additions and 140 deletions

View File

@@ -107,7 +107,7 @@ static NS_METHOD nsSampleUnregistrationProc(nsIComponentManager *aCompMgr,
// For each class that wishes to support nsIClassInfo, add a line like this
NS_DECL_CLASSINFO(nsSampleImpl)
static nsModuleComponentInfo components[] =
static const nsModuleComponentInfo components[] =
{
{ "Sample Component", NS_SAMPLE_CID, NS_SAMPLE_CONTRACTID, nsSampleImplConstructor,
nsSampleRegistrationProc /* NULL if you dont need one */,