diff -rupN CGNS-3.3.1/src/cgnstools/cgnscalc/calcwish.c CGNS-3.3.1-new/src/cgnstools/cgnscalc/calcwish.c --- CGNS-3.3.1/src/cgnstools/cgnscalc/calcwish.c 2017-07-17 23:51:06.000000000 +0200 +++ CGNS-3.3.1-new/src/cgnstools/cgnscalc/calcwish.c 2018-02-04 11:10:38.609888621 +0100 @@ -15,14 +15,6 @@ #include "tk.h" #include "locale.h" -/* - * The following variable is a special hack that is needed in order for - * Sun shared libraries to be used for Tcl. - */ - -extern int matherr(); -int *tclDummyMathPtr = (int *) matherr; - #ifdef TK_TEST extern int Tcltest_Init _ANSI_ARGS_((Tcl_Interp *interp)); extern int Tktest_Init _ANSI_ARGS_((Tcl_Interp *interp)); diff -rupN CGNS-3.3.1/src/cgnstools/cgnsplot/plotwish.c CGNS-3.3.1-new/src/cgnstools/cgnsplot/plotwish.c --- CGNS-3.3.1/src/cgnstools/cgnsplot/plotwish.c 2017-07-17 23:51:06.000000000 +0200 +++ CGNS-3.3.1-new/src/cgnstools/cgnsplot/plotwish.c 2018-02-04 11:10:27.229889250 +0100 @@ -15,14 +15,6 @@ #include "tk.h" #include "locale.h" -/* - * The following variable is a special hack that is needed in order for - * Sun shared libraries to be used for Tcl. - */ - -extern int matherr(); -int *tclDummyMathPtr = (int *) matherr; - extern int Cgnstcl_Init _ANSI_ARGS_((Tcl_Interp *interp)); extern int Tkogl_Init _ANSI_ARGS_((Tcl_Interp *interp)); diff -rupN CGNS-3.3.1/src/cgnstools/cgnsview/cgiowish.c CGNS-3.3.1-new/src/cgnstools/cgnsview/cgiowish.c --- CGNS-3.3.1/src/cgnstools/cgnsview/cgiowish.c 2017-07-17 23:51:06.000000000 +0200 +++ CGNS-3.3.1-new/src/cgnstools/cgnsview/cgiowish.c 2018-02-04 11:10:31.067889038 +0100 @@ -15,14 +15,6 @@ #include "tk.h" #include "locale.h" -/* - * The following variable is a special hack that is needed in order for - * Sun shared libraries to be used for Tcl. - */ - -extern int matherr(); -int *tclDummyMathPtr = (int *) matherr; - #ifdef TK_TEST extern int Tcltest_Init _ANSI_ARGS_((Tcl_Interp *interp)); extern int Tktest_Init _ANSI_ARGS_((Tcl_Interp *interp)); diff -rupN CGNS-3.3.1/src/cgnstools/tkogl/tkAppInit.c CGNS-3.3.1-new/src/cgnstools/tkogl/tkAppInit.c --- CGNS-3.3.1/src/cgnstools/tkogl/tkAppInit.c 2017-07-17 23:51:06.000000000 +0200 +++ CGNS-3.3.1-new/src/cgnstools/tkogl/tkAppInit.c 2018-02-04 11:10:35.027888819 +0100 @@ -2,16 +2,6 @@ #include #include "tkogl.h" -/* - * The following variable is a special hack that is needed in order for - * Sun shared libraries to be used for Tcl. - */ - -#ifdef NEED_MATHERR -extern int matherr(); -int *tclDummyMathPtr = (int *) matherr; -#endif - int Tcl_AppInit(Tcl_Interp *interp) /* Interpreter for application. */ { if (Tcl_Init(interp) == TCL_ERROR) return TCL_ERROR;