summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2010-11-16 07:52:05 (GMT)
committerH. Peter Anvin <hpa@zytor.com>2010-11-16 07:52:05 (GMT)
commiteffe7ca6e22cb5bc4e6fb385e19427f60fa634e2 (patch)
tree12c767226dec72767528707c20eb53a25517fd24
parent0b74bc0b4b38b5d326a791007d18ec57f3ad027a (diff)
downloadabc8000-old-effe7ca6e22cb5bc4e6fb385e19427f60fa634e2.zip
abc8000-old-effe7ca6e22cb5bc4e6fb385e19427f60fa634e2.tar.gz
abc8000-old-effe7ca6e22cb5bc4e6fb385e19427f60fa634e2.tar.bz2
abc8000-old-effe7ca6e22cb5bc4e6fb385e19427f60fa634e2.tar.xz
sysrom, fat: mark a few functions static
Mark a few functions not used outside the FAT driver static.
-rw-r--r--data/sysrom/fat/src/ff.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/data/sysrom/fat/src/ff.c b/data/sysrom/fat/src/ff.c
index e1b04b7..f83c28a 100644
--- a/data/sysrom/fat/src/ff.c
+++ b/data/sysrom/fat/src/ff.c
@@ -585,7 +585,7 @@ FRESULT sync ( /* FR_OK: successful, FR_DISK_ERR: failed */
/*-----------------------------------------------------------------------*/
-DWORD clust2sect ( /* !=0: Sector number, 0: Failed - invalid cluster# */
+static DWORD clust2sect ( /* !=0: Sector number, 0: Failed - invalid cluster# */
FATFS *fs, /* File system object */
DWORD clst /* Cluster# to be converted */
)
@@ -603,7 +603,7 @@ DWORD clust2sect ( /* !=0: Sector number, 0: Failed - invalid cluster# */
/*-----------------------------------------------------------------------*/
-DWORD get_fat ( /* 0xFFFFFFFF:Disk error, 1:Internal error, Else:Cluster status */
+static DWORD get_fat ( /* 0xFFFFFFFF:Disk error, 1:Internal error, Else:Cluster status */
FATFS *fs, /* File system object */
DWORD clst /* Cluster# to get the link information */
)
@@ -646,7 +646,7 @@ DWORD get_fat ( /* 0xFFFFFFFF:Disk error, 1:Internal error, Else:Cluster status
/*-----------------------------------------------------------------------*/
#if !_FS_READONLY
-FRESULT put_fat (
+static FRESULT put_fat (
FATFS *fs, /* File system object */
DWORD clst, /* Cluster# to be changed in range of 2 to fs->n_fatent - 1 */
DWORD val /* New value to mark the cluster */