summaryrefslogtreecommitdiff
path: root/nuttx/lib/lib_libfflush.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/lib/lib_libfflush.c')
-rw-r--r--nuttx/lib/lib_libfflush.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nuttx/lib/lib_libfflush.c b/nuttx/lib/lib_libfflush.c
index a54a09386..3604d00b9 100644
--- a/nuttx/lib/lib_libfflush.c
+++ b/nuttx/lib/lib_libfflush.c
@@ -44,6 +44,7 @@
#include <nuttx/config.h>
#include <sys/types.h>
+#include <stdbool.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
@@ -102,7 +103,7 @@
*
****************************************************************************/
-ssize_t lib_fflush(FAR FILE *stream, boolean bforce)
+ssize_t lib_fflush(FAR FILE *stream, bool bforce)
{
#if CONFIG_STDIO_BUFFER_SIZE > 0
FAR const unsigned char *src;