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>

@@ -25,21 +25,18 @@
 /*
  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
-#include "libm_synonyms.h"
 #include "libm_inlines.h"
 
 #ifdef __RESTRICT
 #define restrict _Restrict
 #else
 #define restrict
 #endif
 
-#define sqrt __sqrt
-
 extern double sqrt(double);
 
 void
 __vsqrt(int n, double * restrict x, int stridex, double * restrict y, int stridey)
 {

@@ -48,6 +45,5 @@
                 *y = sqrt(*x);
                 x += stridex;
                 y += stridey;
         }
 }
-