[syslinux:elflink] xfs: Make xfs_da_hashname() function static

syslinux-bot for Paulo Alcantara pcacjr at zytor.com
Tue Nov 27 12:57:14 PST 2012


Commit-ID:  4ae18523c2e1b462be15c620f49298777c8cf387
Gitweb:     http://www.syslinux.org/commit/4ae18523c2e1b462be15c620f49298777c8cf387
Author:     Paulo Alcantara <pcacjr at zytor.com>
AuthorDate: Sun, 22 Jul 2012 20:00:44 -0300
Committer:  Paulo Alcantara <pcacjr at zytor.com>
CommitDate: Sun, 22 Jul 2012 20:06:16 -0300

xfs: Make xfs_da_hashname() function static

Since it won't certainly be exported to anywhere, make it static around
the driver code.

Signed-off-by: Paulo Alcantara <pcacjr at zytor.com>

---
 core/fs/xfs/xfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/fs/xfs/xfs.c b/core/fs/xfs/xfs.c
index 879bd88..75e628e 100644
--- a/core/fs/xfs/xfs.c
+++ b/core/fs/xfs/xfs.c
@@ -607,7 +607,7 @@ failed:
     return NULL;
 }
 
-uint32_t xfs_da_hashname(const uint8_t *name, int namelen)
+static uint32_t xfs_da_hashname(const uint8_t *name, int namelen)
 {
     uint32_t hash;
 


More information about the Syslinux-commits mailing list