target: declare local symbols as static
Functions and variables that are not used outside the file should be declared as static. Change-Id: I9f97571a528f0cb3c3c26f873577ab16fdec3cdc Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/5895 Tested-by: jenkins Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
This commit is contained in:
@@ -57,7 +57,7 @@ static int telnet_write(struct connection *connection, const void *data, int len
|
||||
return ERROR_SERVER_REMOTE_CLOSED;
|
||||
}
|
||||
|
||||
int jsp_poll_read(void *priv)
|
||||
static int jsp_poll_read(void *priv)
|
||||
{
|
||||
struct jsp_service *jsp_service = (struct jsp_service *)priv;
|
||||
unsigned char out_buffer[10];
|
||||
|
||||
Reference in New Issue
Block a user