From: Markus Koschany Date: Tue, 13 Mar 2018 20:42:31 +0000 (+0100) Subject: remove matherr X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/micropolis/commitdiff_plain/cc31822e4ebe54c0109623ac0c5cdf0e3acad755?hp=59dd70c3b1f545e2239a63474c595b5061c559e2 remove matherr Work around "tclxmerr.c:40:30: error: dereferencing pointer to incomplete type 'struct exception'" --- diff --git a/src/tclx/src/tclxmerr.c b/src/tclx/src/tclxmerr.c index dc3596b..06aad3a 100644 --- a/src/tclx/src/tclxmerr.c +++ b/src/tclx/src/tclxmerr.c @@ -33,15 +33,6 @@ * *----------------------------------------------------------------------------- */ -int -matherr (except) - struct exception *except; -{ - if (Tcl_MathError (except->name, except->type)) - return 1; - else - return 0; -} #else