From 64b9aec12be7080c3b81e505044b139d56bb07c4 Mon Sep 17 00:00:00 2001 From: John Denker Date: Mon, 30 Jul 2012 21:32:40 -0700 Subject: minor: prefer stdlib to cmath --- tools/utils.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/utils.c b/tools/utils.c index c544f20..602a144 100644 --- a/tools/utils.c +++ b/tools/utils.c @@ -1,8 +1,10 @@ #include #include #include -//#include /* for abs() */ -#include +#include /* for abs() */ +///// would not be an improvement +///// due to lack of interger abs() +///// and ambiguous (and inefficient) promotion #include /* for isalnum() */ // strip off the directory part of a path, leaving just -- cgit v1.2.3