@@ -48,40 +48,6 @@ class FileSystemLike : public FileSystemHandle, public FileBase, private NonCopy
48
48
FileSystemLike (const char *name = NULL ) : FileBase(name, FileSystemPathType) {}
49
49
virtual ~FileSystemLike () {}
50
50
51
- // Inherited functions with name conflicts
52
- using FileSystemHandle::open;
53
-
54
- /* * Open a file on the filesystem
55
- *
56
- * @param path The name of the file to open
57
- * @param flags The flags to open the file in, one of O_RDONLY, O_WRONLY, O_RDWR,
58
- * bitwise or'd with one of O_CREAT, O_TRUNC, O_APPEND
59
- * @return A file handle on success, NULL on failure
60
- * @deprecated Replaced by `int open(FileHandle **, ...)` for propagating error codes
61
- */
62
- MBED_DEPRECATED_SINCE (" mbed-os-5.5" ,
63
- " Replaced by `int open(FileHandle **, ...)` for propagating error codes" )
64
- FileHandle *open (const char *path, int flags)
65
- {
66
- FileHandle *file;
67
- int err = open (&file, path, flags);
68
- return err ? NULL : file;
69
- }
70
-
71
- /* * Open a directory on the filesystem
72
- *
73
- * @param path Name of the directory to open
74
- * @return A directory handle on success, NULL on failure
75
- * @deprecated Replaced by `int open(DirHandle **, ...)` for propagating error codes
76
- */
77
- MBED_DEPRECATED_SINCE (" mbed-os-5.5" ,
78
- " Replaced by `int open(DirHandle **, ...)` for propagating error codes" )
79
- DirHandle *opendir (const char *path)
80
- {
81
- DirHandle *dir;
82
- int err = open (&dir, path);
83
- return err ? NULL : dir;
84
- }
85
51
};
86
52
87
53
/* *@}*/
0 commit comments