URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [newlib/] [libc/] [sys/] [linux/] [net/] [local.h] - Rev 207
Compare with Previous | Blame | View Log
#include <alloca.h> #include "libc-symbols.h" # define extend_alloca(buf, len, newlen) \ (__typeof (buf)) ({ size_t __newlen = (newlen); \ char *__newbuf = alloca (__newlen); \ if (__newbuf > (char *)buf) \ if ((char *)buf + len == __newbuf) { \ len += __newlen; \ __newbuf = buf; \ } \ else { \ if (__newbuf + newlen == (char *)buf) \ len += __newlen; \ else \ len = __newlen; \ } \ __newbuf; }) #define __fsetlocking(fp, x) fp extern const char *_res_opcodes[]; libresolv_hidden_proto (_res_opcodes)