- fix target_examine declaration

- remove build warnings
- added --enable-gccwarnings to docs
- update mips_m4k_examine function

git-svn-id: svn://svn.berlios.de/openocd/trunk@893 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
ntfreak
2008-08-06 14:36:37 +00:00
parent 09bb073239
commit ce16ff901c
11 changed files with 33 additions and 25 deletions

View File

@@ -95,8 +95,8 @@ void jlink_simple_command(u8 command);
int jlink_get_status(void);
/* J-Link tap buffer functions */
void jlink_tap_init();
int jlink_tap_execute();
void jlink_tap_init(void);
int jlink_tap_execute(void);
void jlink_tap_ensure_space(int scans, int bits);
void jlink_tap_append_step(int tms, int tdi);
void jlink_tap_append_scan(int length, u8 *buffer, scan_command_t *command);
@@ -568,7 +568,7 @@ static pending_scan_result_t pending_scan_results_buffer[MAX_PENDING_SCAN_RESULT
static int last_tms;
void jlink_tap_init()
void jlink_tap_init(void)
{
tap_length = 0;
pending_scan_results_length = 0;
@@ -640,7 +640,7 @@ void jlink_tap_append_scan(int length, u8 *buffer, scan_command_t *command)
/* Pad and send a tap sequence to the device, and receive the answer.
* For the purpose of padding we assume that we are in idle or pause state. */
int jlink_tap_execute()
int jlink_tap_execute(void)
{
int byte_length;
int tms_offset;