summaryrefslogtreecommitdiffstats
path: root/src/bltGraphOp.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/bltGraphOp.C')
-rw-r--r--src/bltGraphOp.C4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bltGraphOp.C b/src/bltGraphOp.C
index 46efd32..b7f1beb 100644
--- a/src/bltGraphOp.C
+++ b/src/bltGraphOp.C
@@ -27,8 +27,6 @@
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-#include "bltMath.h"
-
extern "C" {
#include "bltInt.h"
#include "bltList.h"
@@ -60,6 +58,8 @@ using namespace Blt;
static Tcl_ObjCmdProc BarchartObjCmd;
static Tcl_ObjCmdProc GraphObjCmd;
+#define ROUND(x) ((int)((x) + (((x)<0.0) ? -0.5 : 0.5)))
+
int Blt_GraphCmdInitProc(Tcl_Interp* interp)
{
static Blt_InitCmdSpec graphSpec =