Move definition of maximum file name length from <syscall> to file.h

This commit is contained in:
Themis Demetriades
2024-11-08 15:41:35 +00:00
parent ed09e0b08e
commit b64434fb9d
3 changed files with 6 additions and 5 deletions

View File

@@ -4,6 +4,9 @@
#include "filesys/off_t.h"
#include <stdbool.h>
/* The maximum length of a file name in PintOS. */
#define FNAME_MAX_LEN 14
struct inode;
/* Opening and closing files. */