Make functions static where possible, no intended functionality change.

This saves 208 bytes.
This commit is contained in:
Richard Osborne
2013-11-29 18:41:23 +00:00
parent 4b22faaf69
commit 577b5f500d
7 changed files with 27 additions and 27 deletions

View File

@@ -357,7 +357,7 @@ int DFUReportResetState(chanend ?c_user_cmd)
return inDFU;
}
int XMOS_DFU_RevertFactory(chanend ?c_user_cmd)
static int XMOS_DFU_RevertFactory(chanend ?c_user_cmd)
{
unsigned s = 0;
@@ -371,7 +371,7 @@ int XMOS_DFU_RevertFactory(chanend ?c_user_cmd)
return 0;
}
int XMOS_DFU_SelectImage(unsigned int index, chanend ?c_user_cmd)
static int XMOS_DFU_SelectImage(unsigned int index, chanend ?c_user_cmd)
{
// Select the image index for firmware update
// Currently not used or implemented
@@ -379,12 +379,12 @@ int XMOS_DFU_SelectImage(unsigned int index, chanend ?c_user_cmd)
}
int XMOS_DFU_SaveState()
static int XMOS_DFU_SaveState()
{
return 0;
}
int XMOS_DFU_LoadState()
static int XMOS_DFU_LoadState()
{
return 0;
}