OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [newlib-1.18.0/] [newlib/] [libc/] [sys/] [linux/] [net/] [local.h] - Blame information for rev 829

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 207 jeremybenn
#include <alloca.h>
2
#include "libc-symbols.h"
3
 
4
# define extend_alloca(buf, len, newlen) \
5
  (__typeof (buf)) ({ size_t __newlen = (newlen);                             \
6
                      char *__newbuf = alloca (__newlen);                     \
7
                      if (__newbuf > (char *)buf)                             \
8
                        if ((char *)buf + len == __newbuf) {                  \
9
                          len += __newlen;                                    \
10
                          __newbuf = buf;                                     \
11
                        }                                                     \
12
                      else {                                                  \
13
                        if (__newbuf + newlen == (char *)buf)                 \
14
                          len += __newlen;                                    \
15
                        else                                                  \
16
                          len = __newlen;                                     \
17
                      }                                                       \
18
                      __newbuf; })
19
 
20
#define __fsetlocking(fp, x) fp
21
 
22
extern const char *_res_opcodes[];
23
libresolv_hidden_proto (_res_opcodes)
24
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.