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/] [stdlib/] [malign.c] - Blame information for rev 308

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

Line No. Rev Author Line
1 148 jeremybenn
#ifndef MALLOC_PROVIDED
2
/* malign.c -- a wrapper for memalign_r.  */
3
 
4
#include <_ansi.h>
5
#include <reent.h>
6
#include <stdlib.h>
7
#include <malloc.h>
8
 
9
#ifndef _REENT_ONLY
10
 
11
_PTR
12
_DEFUN (memalign, (align, nbytes),
13
        size_t align _AND
14
        size_t nbytes)
15
{
16
  return _memalign_r (_REENT, align, nbytes);
17
}
18
 
19
#endif
20
#endif

powered by: WebSVN 2.1.0

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