fix warning on Sun

This commit is contained in:
Ken Martin 2002-07-10 16:07:51 -04:00
parent 120b2523f5
commit 694cff3cf9
1 changed files with 2 additions and 2 deletions

View File

@ -267,10 +267,10 @@ bool cmVTKWrapTclCommand::WriteInit(const char *kitName,
if (!strcmp(kitName,"Vtkcommontcl"))
{
fprintf(fout,"void vtkCommonDeleteAssocData(ClientData cd)\n");
fprintf(fout,"extern \"C\"\n{\nvoid vtkCommonDeleteAssocData(ClientData cd)\n");
fprintf(fout," {\n");
fprintf(fout," vtkTclInterpStruct *tis = static_cast<vtkTclInterpStruct*>(cd);\n");
fprintf(fout," delete tis;\n }\n");
fprintf(fout," delete tis;\n }\n}\n");
}
/* the main declaration */