summaryrefslogtreecommitdiffstats
path: root/file_use.c
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2014-12-29 11:17:49 +0900
committerFreeArtMan <dos21h@gmail.com>2014-12-29 11:17:49 +0900
commit7a794483c75fa6590958dda5ceaf5fb4438c3066 (patch)
tree9fde594088b1a844f5e4ad2568158f049cdd7981 /file_use.c
parent0aa0acedcbf8c19ad7049335c7abbb0f71e2cdee (diff)
downloadmicrobbs-7a794483c75fa6590958dda5ceaf5fb4438c3066.tar.gz
microbbs-7a794483c75fa6590958dda5ceaf5fb4438c3066.zip
Small fixes, not change any functionality
Diffstat (limited to 'file_use.c')
-rw-r--r--file_use.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/file_use.c b/file_use.c
index 3aae696..0cfa823 100644
--- a/file_use.c
+++ b/file_use.c
@@ -18,7 +18,7 @@ void f_file_null( f_file *f_f )
int f_file_seek( f_file *f_f, long offset, int seek )
{
int ret=-1;
- PRINT("\n");
+ //PRINT("\n");
if ( f_f )
{
if ( offset < 0 )
@@ -55,7 +55,7 @@ size_t f_file_read( f_file *f_f, size_t size, void *ptr )
{
size_t ret=-1;
- PRINT("\n");
+ //PRINT("\n");
if ( f_f )
{
if ( (f_f->flags == F_FILE_READ) ||
@@ -98,7 +98,7 @@ size_t f_file_readl( f_file *f_f, size_t size, void *ptr )
{
size_t ret=-1;
- PRINT("\n");
+ //PRINT("\n");
if ( f_f )
{
int c=0;
@@ -127,7 +127,7 @@ int f_file_size( f_file *f_f )
int ret=-1;
long old_seek;
- PRINT("\n");
+ //PRINT("\n");
if ( f_f )
{
//could make some logic break
@@ -149,7 +149,7 @@ int f_file_size( f_file *f_f )
//---------------------------------------------------------------------
size_t f_file_write( f_file *f_f, size_t size, void *ptr )
{
- PRINT("\n");
+ //PRINT("\n");
if ( f_f )
{
if ((f_f->flags == F_FILE_WRITE) ||
@@ -175,7 +175,7 @@ f_file* f_file_open( const char *fname, int flags )
char *f_flags_rw="r+";
char *f_flags_tmp=NULL;
- PRINT("\n");
+ //PRINT("\n");
if ( fname != NULL )
{
ret = malloc( sizeof( f_file ) );
@@ -228,7 +228,7 @@ exit_close_f:
//---------------------------------------------------------------------
int f_file_close( f_file *f_f )
{
- PRINT("\n");
+ //PRINT("\n");
if ( f_f )
{
fclose( f_f->fid );