Move lib/stdio/lib_fgets.c to apps/system/readline; simplify fgets(); use readline instead of fgets in NSH

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4356 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2012-02-01 19:07:57 +00:00
parent e154165067
commit 8d01473fff
44 changed files with 170 additions and 280 deletions
+6 -6
View File
@@ -1,8 +1,8 @@
/************************************************************************************
* serial.h
* include/nuttx/serial.h
*
* Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
* Copyright (C) 2007-2008, 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __SERIAL_H
#define __SERIAL_H
#ifndef __INCLUDE_NUTTX_SERIAL_H
#define __INCLUDE_NUTTX_SERIAL_H
/************************************************************************************
* Included Files
@@ -299,4 +299,4 @@ EXTERN void uart_datasent(FAR uart_dev_t *dev);
}
#endif
#endif /* __SERIAL_H */
#endif /* __INCLUDE_NUTTX_SERIAL_H */