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
This commit is contained in:
patacongo
2008-11-10 14:40:03 +00:00
parent bd856e9212
commit 6cb7caab02
42 changed files with 626 additions and 577 deletions
+29 -28
View File
@@ -1,5 +1,5 @@
/************************************************************
* lib_fprintf.c
/****************************************************************************
* lib/lib_fprintf.c
*
* Copyright (C) 2007 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
@@ -31,54 +31,55 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Compilation Switches
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Included Files
************************************************************/
****************************************************************************/
#include <stdio.h>
/************************************************************
/****************************************************************************
* Definitions
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Private Type Declarations
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Private Function Prototypes
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Global Constant Data
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Global Variables
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Private Constant Data
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Private Variables
************************************************************/
/************************************************************
* Global Functions
************************************************************/
****************************************************************************/
/************************************************************
* fprintf
************************************************************/
/****************************************************************************
* Public Functions
****************************************************************************/
int fprintf(FILE *stream, const char *fmt, ...)
/****************************************************************************
* Name: fprintf
****************************************************************************/
int fprintf(FAR FILE *stream, FAR const char *fmt, ...)
{
va_list ap;
int n;