removed unnecessary whitespace

This commit is contained in:
MonkeyGG2 2024-02-18 08:40:09 -05:00
parent 7bd63fe077
commit dea41c09d8
5 changed files with 15 additions and 15 deletions

View File

@ -1,3 +1,4 @@
#include <types.h>
#define FS_ROOT_INODE 1 #define FS_ROOT_INODE 1
#define FS_BSIZE 512 #define FS_BSIZE 512
#define FS_NDIRECT 12 #define FS_NDIRECT 12
@ -17,9 +18,9 @@ struct superblock {
u32 firstlog; u32 firstlog;
u32 firstinode; u32 firstinode;
u32 firstfreemapblock; u32 firstfreemapblock;
} };
struct dirent { struct dirent {
u16 inum; u16 inum;
s8 name[FS_DIRSIZ]; s8 name[FS_DIRSIZ];
} };

View File

@ -5,8 +5,7 @@ strlen(const char *str)
{ {
size_t i; size_t i;
for (i = 0; str[i] != NULL; i++) for (i = 0; str[i] != NULL; i++);
;
return i; return i;
} }