summaryrefslogtreecommitdiff
path: root/nuttx/fs
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/fs')
-rw-r--r--nuttx/fs/fs_read.c6
-rw-r--r--nuttx/fs/fs_rmdir.c6
-rw-r--r--nuttx/fs/fs_unlink.c6
-rw-r--r--nuttx/fs/fs_write.c8
4 files changed, 13 insertions, 13 deletions
diff --git a/nuttx/fs/fs_read.c b/nuttx/fs/fs_read.c
index 5d7ac2c54..7500d3599 100644
--- a/nuttx/fs/fs_read.c
+++ b/nuttx/fs/fs_read.c
@@ -1,7 +1,7 @@
/****************************************************************************
* fs_read.c
*
- * Copyright (C) 2007 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- * 3. Neither the name Gregory Nutt nor the names of its contributors may be
+ * 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
@@ -53,7 +53,7 @@
* Global Functions
****************************************************************************/
-int read(int fd, void *buf, unsigned int nbytes)
+int read(int fd, FAR void *buf, unsigned int nbytes)
{
FAR struct filelist *list;
int ret = EBADF;
diff --git a/nuttx/fs/fs_rmdir.c b/nuttx/fs/fs_rmdir.c
index 5f31ab89a..6909bbd60 100644
--- a/nuttx/fs/fs_rmdir.c
+++ b/nuttx/fs/fs_rmdir.c
@@ -1,7 +1,7 @@
/****************************************************************************
* fs_rmdir.c
*
- * Copyright (C) 2007 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- * 3. Neither the name Gregory Nutt nor the names of its contributors may be
+ * 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
@@ -72,7 +72,7 @@
*
****************************************************************************/
-int rmdir(const char *pathname)
+int rmdir(FAR const char *pathname)
{
FAR struct inode *inode;
const char *relpath = NULL;
diff --git a/nuttx/fs/fs_unlink.c b/nuttx/fs/fs_unlink.c
index a3a689411..3a70bb830 100644
--- a/nuttx/fs/fs_unlink.c
+++ b/nuttx/fs/fs_unlink.c
@@ -1,7 +1,7 @@
/****************************************************************************
* fs_unlink.c
*
- * Copyright (C) 2007 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- * 3. Neither the name Gregory Nutt nor the names of its contributors may be
+ * 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
@@ -72,7 +72,7 @@
*
****************************************************************************/
-int unlink(const char *pathname)
+int unlink(FAR const char *pathname)
{
FAR struct inode *inode;
const char *relpath = NULL;
diff --git a/nuttx/fs/fs_write.c b/nuttx/fs/fs_write.c
index 8df9c8233..28fa8664c 100644
--- a/nuttx/fs/fs_write.c
+++ b/nuttx/fs/fs_write.c
@@ -1,7 +1,7 @@
/****************************************************************************
* fs/fs_write.c
*
- * Copyright (C) 2007 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- * 3. Neither the name Gregory Nutt nor the names of its contributors may be
+ * 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
@@ -59,7 +59,7 @@
****************************************************************************/
/********************************************************************************************
- * Function: send
+ * Function: write
*
* Description:
* write() writes up to nytes bytes to the file referenced by the file
@@ -108,7 +108,7 @@
*
********************************************************************************************/
-int write(int fd, const void *buf, unsigned int nbytes)
+int write(int fd, FAR const void *buf, unsigned int nbytes)
{
#if CONFIG_NFILE_DESCRIPTORS > 0
FAR struct filelist *list;