diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-01-29 00:50:16 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-01-29 00:50:16 +0000 |
commit | f66c7593b614bf8e845f9ae9f6c63bf159af8c09 (patch) | |
tree | 6f244b56dfe70385ea813e028544dee1b921fc47 /nuttx/fs | |
parent | 8475b8bf5337bcb83a2ef35d8d03e7fc33535689 (diff) | |
download | px4-nuttx-f66c7593b614bf8e845f9ae9f6c63bf159af8c09.tar.gz px4-nuttx-f66c7593b614bf8e845f9ae9f6c63bf159af8c09.tar.bz2 px4-nuttx-f66c7593b614bf8e845f9ae9f6c63bf159af8c09.zip |
Z16F Debug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@579 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/fs')
-rw-r--r-- | nuttx/fs/fs_read.c | 6 | ||||
-rw-r--r-- | nuttx/fs/fs_rmdir.c | 6 | ||||
-rw-r--r-- | nuttx/fs/fs_unlink.c | 6 | ||||
-rw-r--r-- | nuttx/fs/fs_write.c | 8 |
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; |