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,41 ****
/*
* Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
! #pragma weak fex_get_log = __fex_get_log
! #pragma weak fex_set_log = __fex_set_log
! #pragma weak fex_get_log_depth = __fex_get_log_depth
! #pragma weak fex_set_log_depth = __fex_set_log_depth
! #pragma weak fex_log_entry = __fex_log_entry
- #include "fenv_synonyms.h"
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <signal.h>
--- 25,40 ----
/*
* Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
! #pragma weak __fex_get_log = fex_get_log
! #pragma weak __fex_set_log = fex_set_log
! #pragma weak __fex_get_log_depth = fex_get_log_depth
! #pragma weak __fex_set_log_depth = fex_set_log_depth
! #pragma weak __fex_log_entry = fex_log_entry
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <signal.h>