]> git.sur5r.net Git - cc65/blobdiff - libsrc/common/freopen.c
Removed (pretty inconsistently used) tab chars from source code base.
[cc65] / libsrc / common / freopen.c
index e03cd9868c3c87f60968f75d6c72772ac847f1c3..3c4d92ee09c57878ec4bd76b6c2c50418803f483 100644 (file)
@@ -14,7 +14,7 @@
 
 
 /*****************************************************************************/
-/*                                          Code                                    */
+/*                                   Code                                    */
 /*****************************************************************************/
 
 
@@ -23,7 +23,7 @@ FILE* __fastcall__ freopen (const char* name, const char* mode, FILE* f)
 {
     /* Check if the file is open, if so, close it */
     if ((f->f_flags & _FOPEN) == 0) {
-       /* File is not open */
+        /* File is not open */
         return (FILE*) _seterrno (EINVAL);      /* File not input */
     }
 
@@ -32,7 +32,7 @@ FILE* __fastcall__ freopen (const char* name, const char* mode, FILE* f)
      */
     if (close (f->f_fd) < 0) {
         /* An error occured, errno is already set */
-       return 0;
+        return 0;
     }
 
     /* Open the file and return the descriptor */