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,47 **** /* * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ ! #pragma weak fex_merge_flags = __fex_merge_flags ! #pragma weak feholdexcept = __feholdexcept ! #pragma weak feupdateenv = __feupdateenv ! #pragma weak fegetenv = __fegetenv ! #pragma weak fesetenv = __fesetenv ! ! #pragma weak feholdexcept96 = __feholdexcept96 ! #pragma weak feupdateenv96 = __feupdateenv ! #pragma weak fegetenv96 = __fegetenv ! #pragma weak fesetenv96 = __fesetenv - #include "fenv_synonyms.h" #include <fenv.h> #include <ucontext.h> #include <thread.h> #include "fex_handler.h" #include "fenv_inlines.h" --- 25,45 ---- /* * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ ! #pragma weak __fex_merge_flags = fex_merge_flags ! #pragma weak __feholdexcept = feholdexcept ! #pragma weak __feupdateenv = feupdateenv ! #pragma weak __fegetenv = fegetenv ! #pragma weak __fesetenv = fesetenv ! ! #pragma weak feupdateenv96 = feupdateenv ! #pragma weak fegetenv96 = fegetenv ! #pragma weak fesetenv96 = fesetenv #include <fenv.h> #include <ucontext.h> #include <thread.h> #include "fex_handler.h" #include "fenv_inlines.h"