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_vsprintf.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_vsprintf.c')
-rw-r--r-- | nuttx/lib/lib_vsprintf.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/nuttx/lib/lib_vsprintf.c b/nuttx/lib/lib_vsprintf.c index 961ddf9ea..2d8da2a43 100644 --- a/nuttx/lib/lib_vsprintf.c +++ b/nuttx/lib/lib_vsprintf.c @@ -1,5 +1,5 @@ /**************************************************************************** - * lib_vsprintf.c + * lib/lib_vsprintf.c * * Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <spudmonkey@racsa.co.cr> @@ -75,14 +75,14 @@ ****************************************************************************/ /**************************************************************************** - * Global Functions + * Public Functions ****************************************************************************/ /**************************************************************************** - * vsprintf + * Name: vsprintf ****************************************************************************/ -int vsprintf (char *dest, const char *src, va_list ap) +int vsprintf(FAR char *dest, const char *src, va_list ap) { struct lib_memstream_s memstream; @@ -90,6 +90,6 @@ int vsprintf (char *dest, const char *src, va_list ap) * lib_vsprintf do the work. */ - lib_memstream(&memstream, dest, LIB_BUFLEN_UNKNOWN); - return lib_vsprintf(&memstream.public, src, ap); + lib_memstream((FAR struct lib_memstream_s *)&memstream, dest, LIB_BUFLEN_UNKNOWN); + return lib_vsprintf((FAR struct lib_stream_s *)&memstream.public, src, ap); } |