diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-11-10 14:40:03 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-11-10 14:40:03 +0000 |
commit | 54f8156cb21909034c6e82a5055cf7a906fb5848 (patch) | |
tree | 569f986b9b393a00e4cf6e9157059ebc08b3eba8 /nuttx/lib/lib_fsetpos.c | |
parent | 10e66822588992414a400a3ebc70a263df7df666 (diff) | |
download | px4-nuttx-54f8156cb21909034c6e82a5055cf7a906fb5848.tar.gz px4-nuttx-54f8156cb21909034c6e82a5055cf7a906fb5848.tar.bz2 px4-nuttx-54f8156cb21909034c6e82a5055cf7a906fb5848.zip |
Make use of FAR consistent in stdio.h
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1182 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/lib/lib_fsetpos.c')
-rw-r--r-- | nuttx/lib/lib_fsetpos.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/lib/lib_fsetpos.c b/nuttx/lib/lib_fsetpos.c index 6a5fc7e9f..eca0c2d67 100644 --- a/nuttx/lib/lib_fsetpos.c +++ b/nuttx/lib/lib_fsetpos.c @@ -102,7 +102,7 @@ * ****************************************************************************/ -int fsetpos(FILE *stream, fpos_t *pos) +int fsetpos(FAR FILE *stream, FAR fpos_t *pos) { #if CONFIG_DEBUG if (!stream || !pos) @@ -112,5 +112,5 @@ int fsetpos(FILE *stream, fpos_t *pos) } #endif - return fseek(stream, (off_t)*pos, SEEK_SET); + return fseek(stream, (FAR off_t)*pos, SEEK_SET); } |