forked from len0rd/rockbox
Make helper functions static.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25231 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
37862a2157
commit
41ef1d512c
1 changed files with 3 additions and 3 deletions
|
@ -265,17 +265,17 @@ const char* tagcache_tag_to_str(int tag)
|
|||
}
|
||||
|
||||
/* Helper functions for the two most read/write data structure: tagfile_entry and index_entry */
|
||||
ssize_t ecread_tagfile_entry(int fd, struct tagfile_entry *buf)
|
||||
static ssize_t ecread_tagfile_entry(int fd, struct tagfile_entry *buf)
|
||||
{
|
||||
return ecread(fd, buf, 1, tagfile_entry_ec, tc_stat.econ);
|
||||
}
|
||||
|
||||
ssize_t ecread_index_entry(int fd, struct index_entry *buf)
|
||||
static ssize_t ecread_index_entry(int fd, struct index_entry *buf)
|
||||
{
|
||||
return ecread(fd, buf, 1, index_entry_ec, tc_stat.econ);
|
||||
}
|
||||
|
||||
ssize_t ecwrite_index_entry(int fd, struct index_entry *buf)
|
||||
static ssize_t ecwrite_index_entry(int fd, struct index_entry *buf)
|
||||
{
|
||||
return ecwrite(fd, buf, 1, index_entry_ec, tc_stat.econ);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue