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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.17.0/] [newlib/] [libc/] [sys/] [linux/] [net/] [local.h] - Rev 148

Go to most recent revision | 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)
 
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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