software/libbase: remove fabsf
authorSebastien Bourdeauducq <sebastien@milkymist.org>
Mon, 28 May 2012 17:48:20 +0000 (19:48 +0200)
committerSebastien Bourdeauducq <sebastien@milkymist.org>
Mon, 28 May 2012 17:48:20 +0000 (19:48 +0200)
software/libbase/vsnprintf.c

index 92ef590cf95357ff58881cee39f14221c4d43467..a257ab70db0846b090bc5ee4eeac16a743ea7858 100644 (file)
@@ -22,8 +22,6 @@
 #include <string.h>
 #include <ctype.h>
 
-#define fabsf(x) ((x) > 0.0 ? x : -x)
-
 /**
  * vsnprintf - Format a string and place it in a buffer
  * @buf: The buffer to place the result into