diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-08-06 20:09:51 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-08-06 20:09:51 -0400 |
commit | 98acf04fc00cbded6169056f2cd541d31725c091 (patch) | |
tree | f792014c7cbc4deee8c3de9b511d9e7329f2bf0d /src/thread/cancel_dummy.c | |
parent | 338b663ddb64ecf8a62ad0d1020a29587e0ca81b (diff) | |
download | musl-98acf04fc00cbded6169056f2cd541d31725c091.tar.gz musl-98acf04fc00cbded6169056f2cd541d31725c091.tar.bz2 musl-98acf04fc00cbded6169056f2cd541d31725c091.tar.xz musl-98acf04fc00cbded6169056f2cd541d31725c091.zip |
use weak aliases rather than function pointers to simplify some code
Diffstat (limited to 'src/thread/cancel_dummy.c')
-rw-r--r-- | src/thread/cancel_dummy.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/thread/cancel_dummy.c b/src/thread/cancel_dummy.c index a39117e7..047692c4 100644 --- a/src/thread/cancel_dummy.c +++ b/src/thread/cancel_dummy.c @@ -6,3 +6,9 @@ static long sccp(long nr, long u, long v, long w, long x, long y, long z) } weak_alias(sccp, __syscall_cp); + +static void dummy() +{ +} + +weak_alias(dummy, __testcancel); |