diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2019-01-18 18:23:06 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2019-01-18 18:23:06 (GMT) |
commit | bf0cc9887939cac3d9b488fdfd8180d5bef851ab (patch) | |
tree | b92b47d5935345436363ef0b661199545bec40b1 /ds9/win | |
parent | a51d63de1a6b963f9671367831e51aaa5bc9474a (diff) | |
download | blt-bf0cc9887939cac3d9b488fdfd8180d5bef851ab.zip blt-bf0cc9887939cac3d9b488fdfd8180d5bef851ab.tar.gz blt-bf0cc9887939cac3d9b488fdfd8180d5bef851ab.tar.bz2 |
clean up internal_error
Diffstat (limited to 'ds9/win')
-rw-r--r-- | ds9/win/ds9.C | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/ds9/win/ds9.C b/ds9/win/ds9.C index f66d1f7..e1a6b59 100644 --- a/ds9/win/ds9.C +++ b/ds9/win/ds9.C @@ -49,14 +49,6 @@ extern "C" { int Tkwin32_Init(Tcl_Interp*); } -Tcl_Interp *global_interp; - -void internalError(const char* msg) -{ - Tcl_SetVar2(global_interp, "ds9", "msg", msg, TCL_GLOBAL_ONLY); - Tcl_SetVar2(global_interp, "ds9", "msg,level", "error", TCL_GLOBAL_ONLY); -} - #define PATHSIZE 2048 int SAOLocalMainHook(int* argcPtr, char*** argvPtr) { @@ -106,6 +98,7 @@ int SAOLocalMainHook(int* argcPtr, char*** argvPtr) return TCL_OK; } +extern Tcl_Interp *global_interp; int SAOAppInit(Tcl_Interp *interp) { // save interp for cputs function |