summaryrefslogtreecommitdiff
path: root/nuttx/include
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-10-25 03:13:11 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-10-25 03:13:11 +0000
commitcb3be8c6e6920198440d9654f05b122853724868 (patch)
treea018506cf7763c9e12ab56b1b81d9677b97264f6 /nuttx/include
parent087d2899c1a9f80de11b569d57862c7be8a92974 (diff)
downloadpx4-nuttx-cb3be8c6e6920198440d9654f05b122853724868.tar.gz
px4-nuttx-cb3be8c6e6920198440d9654f05b122853724868.tar.bz2
px4-nuttx-cb3be8c6e6920198440d9654f05b122853724868.zip
A little more ELF loader logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5256 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include')
-rw-r--r--nuttx/include/nuttx/binfmt/elf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/include/nuttx/binfmt/elf.h b/nuttx/include/nuttx/binfmt/elf.h
index d74018fc4..8e7658d5d 100644
--- a/nuttx/include/nuttx/binfmt/elf.h
+++ b/nuttx/include/nuttx/binfmt/elf.h
@@ -165,8 +165,8 @@ EXTERN int elf_load(FAR struct elf_loadinfo_s *loadinfo);
*
****************************************************************************/
-EXTERN int elf_read(FAR struct elf_loadinfo_s *loadinfo, FAR char *buffer,
- FAR int readsize, int offset);
+EXTER int elf_read(FAR struct elf_loadinfo_s *loadinfo, FAR uint8_t *buffer,
+ size_t readsize, off_t offset);
/****************************************************************************
* Name: elf_bind