summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/cmVTKWrapTclCommand.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/cmVTKWrapTclCommand.cxx b/Source/cmVTKWrapTclCommand.cxx
index 03e213a..5a707db 100644
--- a/Source/cmVTKWrapTclCommand.cxx
+++ b/Source/cmVTKWrapTclCommand.cxx
@@ -237,10 +237,8 @@ bool cmVTKWrapTclCommand::WriteInit(const char *kitName,
if (!strcmp(kitName,"Vtkcommontcl"))
{
- fprintf(fout,"extern \"C\" {\n"
- " int vtkCommand(ClientData cd, Tcl_Interp *interp,\n"
- " int argc, char *argv[]);\n"
- "}\n");
+ fprintf(fout,"int vtkCommand(ClientData cd, Tcl_Interp *interp,\n"
+ " int argc, char *argv[]);\n");
fprintf(fout,"\nTcl_HashTable vtkInstanceLookup;\n");
fprintf(fout,"Tcl_HashTable vtkPointerLookup;\n");
fprintf(fout,"Tcl_HashTable vtkCommandLookup;\n");