Removed local definition of round()

Round() is ISO-C 99 so it was missing from math.h once upon a time it is
irrelevant now. Besides, round() is not called in current version of
gigablast.
This commit is contained in:
Ivan Skytte Jørgensen
2015-11-30 16:41:16 +01:00
parent 55747970da
commit cb12d07632

@ -481,11 +481,6 @@ inline bool ucIsWordChar(UChar32 c) {
// don't allow "> in our input boxes
int32_t cleanInput(char *outbuf, int32_t outbufSize, char *inbuf, int32_t inbufLen);
// not in math.h?
inline double round(double x) {
return floor(x+0.5);
}
// like strcpy but return the length and always null terminates
// dst should be of size maxDstLen + 1
inline int32_t setstr ( char *dst,