use the global config file

This commit is contained in:
Bill Gesner
2020-11-12 23:04:41 +00:00
parent be364e8721
commit b477e0d8e8
2 changed files with 1 additions and 4 deletions

2
lfs.c
View File

@@ -5,7 +5,7 @@
* SPDX-License-Identifier: BSD-3-Clause * SPDX-License-Identifier: BSD-3-Clause
*/ */
#include "lfs.h" #include "lfs.h"
#include "lfs_util.h" #include <lfs_util.h>
#define LFS_BLOCK_NULL ((lfs_block_t)-1) #define LFS_BLOCK_NULL ((lfs_block_t)-1)
#define LFS_BLOCK_INLINE ((lfs_block_t)-2) #define LFS_BLOCK_INLINE ((lfs_block_t)-2)

3
lfs.h
View File

@@ -85,9 +85,6 @@ enum lfs_error {
LFS_ERR_NOMEM = -12, // No more memory available LFS_ERR_NOMEM = -12, // No more memory available
LFS_ERR_NOATTR = -61, // No data/attr available LFS_ERR_NOATTR = -61, // No data/attr available
LFS_ERR_NAMETOOLONG = -36, // File name too long LFS_ERR_NAMETOOLONG = -36, // File name too long
#if LFS_THREAD_SAFE
LFS_ERR_LOCK = -23, // Failed to aquire lock
#endif
}; };
// File types // File types