blob: 43face8930fb29b1c00dacc0d7665df2a3caa654 (
plain)
1
2
3
4
5
6
7
|
#include "../libc.h"
/* todo: teach the linker to export weak symbols */
#undef weak_alias
#define weak_alias(old,new) extern __typeof(old) new __attribute__((alias(#old)))
#include "../libc.c"
|