From 4b0708093e15b412296328bf81325cf9b69fe512 Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Thu, 14 Aug 2008 14:41:06 +0200 Subject: Coding Style cleanup, update CHANGELOG Signed-off-by: Wolfgang Denk --- fs/yaffs2/yaffsfs.h | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to 'fs/yaffs2/yaffsfs.h') 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 - - -- cgit v1.1