Browse Source

static assert on the dirent struct size

master
Mathieu Serandour 5 months ago
parent
commit
94884b88c5
  1. 1
      kernel/fs/fs.h

1
kernel/fs/fs.h

@ -92,6 +92,7 @@ typedef struct dirent {
char name[MAX_FILENAME_LEN+1]; /* Null-terminated filename */
} dirent_t;
//static_assert(sizeof(dirent_t) == 0x10a, "dirent_t is not the correct size");
/**
* @brief generic filesystem interface

Loading…
Cancel
Save