From ad2d45b15aae80ba254277c3d1fa036207d8b926 Mon Sep 17 00:00:00 2001 From: Matthew Xie Date: Tue, 18 Sep 2012 16:14:30 -0700 Subject: Revert "Header file and whitespace cleanups" This reverts commit cc914cffd521b2e6e1be804c82aea2388b843ebf More changes in the original CL after my cherry-pick. Change-Id: Ic144dba96aeb8a60611baac7565c9f628ab8f9eb --- bta/fs/bta_fs_cfg.c | 2 +- bta/fs/bta_fs_ci.c | 22 +++++++++++----------- 2 files changed, 12 insertions(+), 12 deletions(-) (limited to 'bta/fs') diff --git a/bta/fs/bta_fs_cfg.c b/bta/fs/bta_fs_cfg.c index c60d8d2..fc18863 100644 --- a/bta/fs/bta_fs_cfg.c +++ b/bta/fs/bta_fs_cfg.c @@ -31,7 +31,7 @@ const tBTA_FS_CFG bta_fs_cfg = { BTA_FS_FILE_LEN, BTA_FS_PATH_LEN, - BTA_FS_PATH_SEPARATOR + BTA_FS_PATH_SEPARATOR }; tBTA_FS_CFG *p_bta_fs_cfg = (tBTA_FS_CFG *)&bta_fs_cfg; diff --git a/bta/fs/bta_fs_ci.c b/bta/fs/bta_fs_ci.c index f59d8d7..d6e52b4 100644 --- a/bta/fs/bta_fs_ci.c +++ b/bta/fs/bta_fs_ci.c @@ -21,7 +21,7 @@ ** ** Function bta_fs_ci_write ** -** Description This function sends an event to IO indicating the phone +** Description This function sends an event to IO indicating the phone ** has written the number of bytes specified in the call-out ** function, bta_fs_co_write(), and is ready for more data. ** This function is used to control the TX data flow. @@ -32,7 +32,7 @@ ** bta_fs_ci_open call-in function. ** status - BTA_FS_CO_OK or BTA_FS_CO_FAIL ** -** Returns void +** Returns void ** *******************************************************************************/ void bta_fs_ci_write(int fd, tBTA_FS_CO_STATUS status, UINT16 evt) @@ -58,7 +58,7 @@ void bta_fs_ci_write(int fd, tBTA_FS_CO_STATUS status, UINT16 evt) ** bta_fs_co_read() call-out function. It should only be called ** when the requested number of bytes has been read in, or after ** the end of the file has been detected. -** +** ** Parameters fd - file descriptor passed to the stack in the ** bta_fs_ci_open call-in function. ** num_bytes_read - number of bytes read into the buffer @@ -67,7 +67,7 @@ void bta_fs_ci_write(int fd, tBTA_FS_CO_STATUS status, UINT16 evt) ** BTA_FS_CO_EOF if the end of file has been reached, ** BTA_FS_CO_FAIL if an error has occurred. ** -** Returns void +** Returns void ** *******************************************************************************/ void bta_fs_ci_read(int fd, UINT16 num_bytes_read, tBTA_FS_CO_STATUS status, UINT16 evt) @@ -91,7 +91,7 @@ void bta_fs_ci_read(int fd, UINT16 num_bytes_read, tBTA_FS_CO_STATUS status, UIN ** ** Description This function sends an event to BTA indicating the phone has ** finished opening a file for reading or writing. -** +** ** Parameters fd - file descriptor passed to the stack in the ** bta_fs_ci_open call-in function. ** status - BTA_FS_CO_OK if file was opened in mode specified @@ -103,7 +103,7 @@ void bta_fs_ci_read(int fd, UINT16 num_bytes_read, tBTA_FS_CO_STATUS status, UIN ** evt - Used Internally by BTA -> MUST be same value passed ** in call-out function. ** -** Returns void +** Returns void ** *******************************************************************************/ void bta_fs_ci_open(int fd, tBTA_FS_CO_STATUS status, UINT32 file_size, UINT16 evt) @@ -133,7 +133,7 @@ void bta_fs_ci_open(int fd, tBTA_FS_CO_STATUS status, UINT32 file_size, UINT16 e ** BTA_FS_CO_EODIR if no more entries (p_entry is ignored). ** BTA_FS_CO_FAIL if any errors have occurred. ** -** Returns void +** Returns void ** *******************************************************************************/ void bta_fs_ci_direntry(tBTA_FS_CO_STATUS status, UINT16 evt) @@ -164,7 +164,7 @@ void bta_fs_ci_direntry(tBTA_FS_CO_STATUS status, UINT16 evt) ** evt - Used Internally by BTA -> MUST be same value passed ** in call-out function. ** -** Returns void +** Returns void ** *******************************************************************************/ void bta_fs_ci_resume (BD_ADDR_PTR p_addr, UINT8 *p_sess_info, @@ -206,7 +206,7 @@ void bta_fs_ci_resume (BD_ADDR_PTR p_addr, UINT8 *p_sess_info, ** evt - Used Internally by BTA -> MUST be same value passed ** in call-out function. ** -** Returns void +** Returns void ** *******************************************************************************/ void bta_fs_ci_action(tBTA_FS_CO_STATUS status, UINT16 evt) @@ -228,7 +228,7 @@ void bta_fs_ci_action(tBTA_FS_CO_STATUS status, UINT16 evt) ** ** Description This function sends an event to BTA indicating the phone has ** finished opening a file for reading or writing on resume. -** +** ** Parameters fd - file descriptor passed to the stack in the ** bta_fs_ci_open call-in function. ** status - BTA_FS_CO_OK if file was opened in mode specified @@ -241,7 +241,7 @@ void bta_fs_ci_action(tBTA_FS_CO_STATUS status, UINT16 evt) ** evt - Used Internally by BTA -> MUST be same value passed ** in call-out function. ** -** Returns void +** Returns void ** *******************************************************************************/ void bta_fs_ci_resume_op(int fd, tBTA_FS_CO_STATUS status, const char *p_file, -- cgit v1.1