libpayload: Add in a missing "static".
The readwrite_chunk was private to the usb mass storage driver, but wasn't marked as static which was upsetting the compiler. BUG=None TEST=Built for kirby, snow and pit. BRANCH=None Change-Id: I0ef5c5f96a29f793dd43ff672a939902bad13c45 Signed-off-by: Gabe Black <gabeblack@google.com> Reviewed-on: https://chromium-review.googlesource.com/169816 Reviewed-by: Julius Werner <jwerner@chromium.org> Commit-Queue: Gabe Black <gabeblack@chromium.org> Tested-by: Gabe Black <gabeblack@chromium.org>
This commit is contained in:
parent
9e55204e92
commit
8140e6145b
1 changed files with 1 additions and 1 deletions
|
|
@ -365,7 +365,7 @@ readwrite_blocks_512 (usbdev_t *dev, int start, int n,
|
|||
* @param buf buffer to read into or write from. Must be at least n*sectorsize bytes
|
||||
* @return 0 on success, 1 on failure
|
||||
*/
|
||||
int
|
||||
static int
|
||||
readwrite_chunk (usbdev_t *dev, int start, int n, cbw_direction dir, u8 *buf)
|
||||
{
|
||||
cmdblock_t cb;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue