From 3dab5367a53dddd7215deb86f463415641d02a45 Mon Sep 17 00:00:00 2001 From: Christopher Haster Date: Tue, 6 Feb 2024 17:05:20 -0600 Subject: [PATCH] Dropped LFS_ERR_BADF We just don't use this error since we assert. Having it in the error enum may give the wrong impression we return it at points. If we even end up needing it, it can be readded to the list. --- lfs.h | 1 - 1 file changed, 1 deletion(-) diff --git a/lfs.h b/lfs.h index 19f105f2..afbb21a4 100644 --- a/lfs.h +++ b/lfs.h @@ -103,7 +103,6 @@ enum lfs_error { LFS_ERR_NOTDIR = -20, // Entry is not a dir LFS_ERR_ISDIR = -21, // Entry is a dir LFS_ERR_NOTEMPTY = -39, // Dir is not empty - LFS_ERR_BADF = -9, // Bad file number LFS_ERR_FBIG = -27, // File too large LFS_ERR_INVAL = -22, // Invalid parameter LFS_ERR_NOSPC = -28, // No space left on device