mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] fs/fat/ff.c: fix 'no previous prototype' warnings
@ 2011-08-02  9:20 Antony Pavlov
  0 siblings, 0 replies; only message in thread
From: Antony Pavlov @ 2011-08-02  9:20 UTC (permalink / raw)
  To: barebox

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
 fs/fat/ff.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/fs/fat/ff.c b/fs/fat/ff.c
index bcd0a93..3ada867 100644
--- a/fs/fat/ff.c
+++ b/fs/fat/ff.c
@@ -363,7 +363,7 @@ int sync (	/* 0: successful, -EIO: failed */
 /*
  * Get sector# from cluster#
  */
-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 */
 )
@@ -377,7 +377,7 @@ DWORD clust2sect (	/* !=0: Sector number, 0: Failed - invalid cluster# */
 /*
  * FAT access - Read value of a FAT entry
  */
-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 */
 )
@@ -424,7 +424,7 @@ DWORD get_fat (	/* 0xFFFFFFFF:Disk error, 1:Internal error, Else:Cluster status
  */
 #ifdef CONFIG_FS_FAT_WRITE
 
-int put_fat (
+static int 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 */
@@ -875,7 +875,7 @@ void fit_lfn (
  * Create numbered name
  */
 #ifdef CONFIG_FS_FAT_LFN
-void gen_numname (
+static void gen_numname (
 	BYTE *dst,		/* Pointer to generated SFN */
 	const BYTE *src,	/* Pointer to source SFN to be modified */
 	const WCHAR *lfn,	/* Pointer to LFN */
-- 
1.7.5.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-08-02  9:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-02  9:20 [PATCH] fs/fat/ff.c: fix 'no previous prototype' warnings Antony Pavlov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox