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>
5262 libm needs to be carefully unifdef'd
5268 libm doesn't need to hide symbols which are already local
Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com>
Reviewed by: Gordon Ross <gwr@nexenta.com>
Approved by: Gordon Ross <gwr@nexenta.com>

*** 25,35 **** /* * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ - #include "fenv_synonyms.h" #undef lint #include <signal.h> #include <siginfo.h> #include <ucontext.h> #include <stdio.h> --- 25,34 ----
*** 55,68 **** /* external globals */ void (*__mt_fex_sync)() = NULL; /* for synchronization with libmtsk */ #pragma weak __mt_fex_sync - #ifdef LIBM_MT_FEX_SYNC void (*__libm_mt_fex_sync)() = NULL; /* new, improved version of above */ #pragma weak __libm_mt_fex_sync - #endif /* private variables */ static fex_handler_t main_handlers; static int handlers_initialized = 0; static thread_key_t handlers_key; --- 54,65 ----
*** 143,153 **** } else if (master && fex_get_log()) __fex_update_te(); } - #ifdef LIBM_MT_FEX_SYNC /* * The following function may be used for synchronization with any * internal project that manages multiple threads */ enum __libm_mt_fex_sync_actions { --- 140,149 ----
*** 202,212 **** } #endif break; } } - #endif #if defined(__sparc) /* * Code for setting or clearing interval mode on US-III and above. --- 198,207 ----
*** 840,849 **** } /* synchronize with libmtsk */ __mt_fex_sync = __fex_sync_with_libmtsk; - #ifdef LIBM_MT_FEX_SYNC /* synchronize with other projects */ __libm_mt_fex_sync = __fex_sync_with_threads; - #endif } --- 835,842 ----