git: include/xlocale: Expose xlocale prototypes also upon wrong #include order.

Sascha Wildner swildner at crater.dragonflybsd.org
Sat May 23 02:31:45 PDT 2020


commit 44aab0b99f81fbc8c34c5bcc1674785867f7b349
Author: Sascha Wildner <saw at online.de>
Date:   Sat May 23 11:31:21 2020 +0200

    include/xlocale: Expose xlocale prototypes also upon wrong #include order.
    
    The correct order to expose xlocale prototypes is for example:
    
    #include <stdio.h>
    #include <xlocale.h>
    
    This commit fixes the two cases where we didn't accept the reverse
    order. FreeBSD's commit msg says that some ports use the wrong
    order.
    
    Based-on:    FreeBSD's r233600
    Reported-by: zrj

Summary of changes:
 include/inttypes.h | 3 +++
 include/stdio.h    | 3 +++
 2 files changed, 6 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/44aab0b99f81fbc8c34c5bcc1674785867f7b349


-- 
DragonFly BSD source repository



More information about the Commits mailing list