blob: 920bad5076badd160c667d9bcef0bab2437cd307 [file] [log] [blame]
/*
* klibc/extern.h
*/
#ifndef _KLIBC_EXTERN_H
#define _KLIBC_EXTERN_H
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
#define __extern extern "C"
#else
#define __extern extern
#endif
#define __alias(x) __attribute__((weak, alias(x)))
#ifdef __cplusplus
}
#endif
#endif /* _KLIBC_EXTERN_H */