
This patch unifies standalone for both Zynq and ZynqMP platforms. Also follows misrac guidelines. Signed-off-by: Venkata Naga Sai Krishna Kolapalli <venkatan@xilinx.com>
14 lines
295 B
C
14 lines
295 B
C
/* The errno variable is stored in the reentrancy structure. This
|
|
function returns its address for use by the macro errno defined in
|
|
errno.h. */
|
|
|
|
#include <errno.h>
|
|
#include <reent.h>
|
|
#include "xil_types.h"
|
|
sint32 * __errno (void);
|
|
|
|
sint32 *
|
|
__errno (void)
|
|
{
|
|
return &_REENT->_errno;
|
|
}
|