standalone : Modified the lseek function signature.

This patch modifies the function signature of lseek
to compile on ICC ARM compiler.

Signed-off-by: Venkata Naga Sai Krishna Kolapalli <venkatan@xilinx.com>
This commit is contained in:
Venkata Naga Sai Krishna Kolapalli 2015-02-20 11:55:19 +05:30 committed by Nava kishore Manne
parent c53c215cc5
commit cf44439081

View file

@ -52,9 +52,9 @@
#include <stdio.h>
#include <yfuns.h>
#include "xil_types.h"
sint32 __lseek(sint32 handle, sint32 offset, sint32 whence);
LONG __lseek(sint32 handle, LONG offset, sint32 whence);
sint32 __lseek(sint32 handle, sint32 offset, sint32 whence)
LONG __lseek(sint32 handle, LONG offset, sint32 whence)
{
return (-1);
}