git: <stdio.h>: Always inline functions.

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Mon Oct 24 05:15:18 PDT 2016


commit f30cf7c7bed5e0a18b6d0d2f8a8e51f505aec952
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Tue Oct 4 08:34:12 2016 +0300

    <stdio.h>: Always inline functions.
    
    These functions were intended to be the preprocessor macros, so
    do not allow compiler to assume that those might not be inlined.
    Happens on LTO builds were compiler sees more of a global picture.
    
    While there, do the same to rune helpers in <ctype.h> too.

Summary of changes:
 include/ctype.h | 23 +++++++++++++----------
 include/stdio.h | 12 ++++++------
 2 files changed, 19 insertions(+), 16 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f30cf7c7bed5e0a18b6d0d2f8a8e51f505aec952


-- 
DragonFly BSD source repository



More information about the Commits mailing list