git: cdefs.h/libm: Add __sym_{compat, default}() helper macros and use in libm.

Sascha Wildner swildner at crater.dragonflybsd.org
Sat Aug 31 12:12:58 PDT 2019


commit 404c8a2625a7db4cdcd35b46cbfb439fd42316de
Author: Sascha Wildner <saw at online.de>
Date:   Sat Aug 31 21:12:42 2019 +0200

    cdefs.h/libm: Add __sym_{compat,default}() helper macros and use in libm.
    
    While here, change the "past<function>" naming scheme to "past_<function>"
    like it is already for "weak_" and "imprecise_" cases.
    
    Macros-taken-from: FreeBSD

Summary of changes:
 lib/libm/Symbol.map            | 4 ++--
 lib/libm/src/amd64/isfinitel.c | 4 ++--
 lib/libm/src/amd64/isnanl.c    | 4 ++--
 lib/libm/src/amd64/isnormall.c | 4 ++--
 lib/libm/src/amd64/signbitl.c  | 4 ++--
 lib/libm/src/frexp.c           | 4 ++--
 lib/libm/src/imprecise.c       | 4 ++--
 lib/libm/src/isfinite.c        | 8 ++++----
 lib/libm/src/isnanf.c          | 6 +++---
 lib/libm/src/isnormal.c        | 8 ++++----
 lib/libm/src/signbit.c         | 8 ++++----
 sys/sys/cdefs.h                | 4 ++++
 12 files changed, 33 insertions(+), 29 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/404c8a2625a7db4cdcd35b46cbfb439fd42316de


-- 
DragonFly BSD source repository



More information about the Commits mailing list