github.com/afumu/libc@v0.0.6/musl/src/include/features.h (about)

     1  #ifndef FEATURES_H
     2  #define FEATURES_H
     3  
     4  #include "../../include/features.h"
     5  
     6  #define weak __attribute__((__weak__))
     7  #define hidden __attribute__((__visibility__("hidden")))
     8  #define weak_alias(old, new) \
     9  	extern __typeof(old) new __attribute__((__weak__, __alias__(#old)))
    10  
    11  #endif