Skip to content

Commit

Permalink
Move ffs_strerror declaration to header.
Browse files Browse the repository at this point in the history
  • Loading branch information
iabdalkader committed Dec 6, 2017
1 parent 16f7e96 commit 475c083
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/omv/ff_wrapper.c
Expand Up @@ -12,8 +12,6 @@
#include "ff_wrapper.h"
#define FF_MIN(x,y) (((x)<(y))?(x):(y))

extern const char *ffs_strerror(FRESULT res);

NORETURN static void ff_fail(FIL *fp, FRESULT res)
{
if (fp) f_close(fp);
Expand Down
2 changes: 2 additions & 0 deletions src/omv/ff_wrapper.h
Expand Up @@ -10,6 +10,8 @@
#define __FF_WRAPPER_H__
#include <stdint.h>
#include <ff.h>
extern const char *ffs_strerror(FRESULT res);

//OOFATFS wrappers
FRESULT f_open_helper(FIL *fp, const TCHAR *path, BYTE mode);
FRESULT f_opendir_helper(FF_DIR *dp, const TCHAR *path);
Expand Down

0 comments on commit 475c083

Please sign in to comment.