Print this page
5261 libm should stop using synonyms.h
5298 fabs is 0-sized, confuses dis(1) and others
Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Approved by: Gordon Ross <gwr@nexenta.com>

@@ -28,15 +28,12 @@
 
         .file "hypotf.s"
 
 #include "libm.h"
 LIBM_ANSI_PRAGMA_WEAK(hypotf,function)
-#include "libm_synonyms.h"
 #include "libm_protos.h"
 
-#undef fabs
-
         ENTRY(hypotf)
         movl    4(%esp),%eax            / eax <-- x
         andl    $0x7fffffff,%eax        / eax <-- |x|
         jz      .return_abs_y           / if x = +/-0, return |y|
         subl    $0x7f800000,%eax        / eax <-- |x| - INF