diff options
author | Wolfgang Denk <wd@denx.de> | 2008-08-14 14:41:06 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-08-14 14:41:06 +0200 |
commit | 4b0708093e15b412296328bf81325cf9b69fe512 (patch) | |
tree | 3586fc61e3fbac6553d888eb3091fb6064638cbb /fs/yaffs2/yaffsfs.h | |
parent | 28ac6719108e989429de2b3dfa90312ba7c4d27b (diff) | |
download | u-boot-imx-4b0708093e15b412296328bf81325cf9b69fe512.zip u-boot-imx-4b0708093e15b412296328bf81325cf9b69fe512.tar.gz u-boot-imx-4b0708093e15b412296328bf81325cf9b69fe512.tar.bz2 |
Coding Style cleanup, update CHANGELOG
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'fs/yaffs2/yaffsfs.h')
-rw-r--r-- | fs/yaffs2/yaffsfs.h | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/fs/yaffs2/yaffsfs.h b/fs/yaffs2/yaffsfs.h index 9afe60a..95e7a91 100644 --- a/fs/yaffs2/yaffsfs.h +++ b/fs/yaffs2/yaffsfs.h @@ -1,5 +1,5 @@ /* - * YAFFS: Yet another Flash File System . A NAND-flash specific file system. + * YAFFS: Yet another Flash File System . A NAND-flash specific file system. * * Copyright (C) 2002-2007 Aleph One Ltd. * for Toby Churchill Ltd and Brightstar Engineering @@ -47,7 +47,7 @@ #define O_RDWR 02 #endif -#ifndef O_CREAT +#ifndef O_CREAT #define O_CREAT 0100 #endif @@ -95,7 +95,7 @@ #define EACCESS 13 #endif -#ifndef EXDEV +#ifndef EXDEV #define EXDEV 18 #endif @@ -146,7 +146,7 @@ #define S_IFREG 0100000 #endif -#ifndef S_IREAD +#ifndef S_IREAD #define S_IREAD 0000400 #endif @@ -202,8 +202,8 @@ int yaffs_stat(const char *path, struct yaffs_stat *buf) ; int yaffs_lstat(const char *path, struct yaffs_stat *buf) ; int yaffs_fstat(int fd, struct yaffs_stat *buf) ; -int yaffs_chmod(const char *path, mode_t mode); -int yaffs_fchmod(int fd, mode_t mode); +int yaffs_chmod(const char *path, mode_t mode); +int yaffs_fchmod(int fd, mode_t mode); int yaffs_mkdir(const char *path, mode_t mode) ; int yaffs_rmdir(const char *path) ; @@ -216,10 +216,10 @@ int yaffs_closedir(yaffs_DIR *dirp) ; int yaffs_mount(const char *path) ; int yaffs_unmount(const char *path) ; -int yaffs_symlink(const char *oldpath, const char *newpath); -int yaffs_readlink(const char *path, char *buf, int bufsiz); +int yaffs_symlink(const char *oldpath, const char *newpath); +int yaffs_readlink(const char *path, char *buf, int bufsiz); -int yaffs_link(const char *oldpath, const char *newpath); +int yaffs_link(const char *oldpath, const char *newpath); int yaffs_mknod(const char *pathname, mode_t mode, dev_t dev); loff_t yaffs_freespace(const char *path); @@ -229,5 +229,3 @@ void yaffs_initialise(yaffsfs_DeviceConfiguration *configList); int yaffs_StartUp(void); #endif - - |