2 * system call not available stub
3 * based on libc's stubs.c
5 * Copyright (C) 2009 Analog Devices Inc.
7 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
11 #include <sys/syscall.h>
13 #ifdef __UCLIBC_HAS_STUBS__
15 static int rt_enosys_stub(void) __attribute_used__
;
16 static int rt_enosys_stub(void)
22 #define make_stub(stub) \
23 link_warning(stub, #stub ": this function is not implemented") \
24 strong_alias(rt_enosys_stub, stub)
26 #ifndef __NR_mq_timedreceive
28 # ifdef __UCLIBC_HAS_ADVANCED_REALTIME__
29 make_stub(mq_timedreceive
)
33 #ifndef __NR_mq_timedsend
35 # ifdef __UCLIBC_HAS_ADVANCED_REALTIME__
36 make_stub(mq_timedsend
)