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_stdstream.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_stdstream.c')
-rw-r--r-- | nuttx/lib/lib_stdstream.c | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/nuttx/lib/lib_stdstream.c b/nuttx/lib/lib_stdstream.c index 3637af7f9..9c696a97d 100644 --- a/nuttx/lib/lib_stdstream.c +++ b/nuttx/lib/lib_stdstream.c @@ -43,9 +43,13 @@ * Private Functions ****************************************************************************/ -static void stdstream_putc(struct lib_stream_s *this, int ch) +/**************************************************************************** + * Name: stdstream_putc + ****************************************************************************/ + +static void stdstream_putc(FAR struct lib_stream_s *this, int ch) { - struct lib_stdstream_s *sthis = (struct lib_stdstream_s *)this; + FAR struct lib_stdstream_s *sthis = (FAR struct lib_stdstream_s *)this; if (this) { if (putc(ch, sthis->stream) != EOF) @@ -59,8 +63,12 @@ static void stdstream_putc(struct lib_stream_s *this, int ch) * Public Functions ****************************************************************************/ -void lib_stdstream(struct lib_stdstream_s *stdstream, - FILE *stream) +/**************************************************************************** + * Name: lib_stdstream + ****************************************************************************/ + +void lib_stdstream(FAR struct lib_stdstream_s *stdstream, + FAR FILE *stream) { stdstream->public.put = stdstream_putc; stdstream->public.nput = 0; |