- fixed build issues with win32
- fixed build warnings for last commit - set svn props for last commit git-svn-id: svn://svn.berlios.de/openocd/trunk@760 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -94,5 +94,4 @@ static __inline u32 fast_target_buffer_get_u32(u8 *buffer, int little)
|
||||
return be_to_h_u32(buffer);
|
||||
}
|
||||
|
||||
|
||||
#endif /* BINARYBUFFER_H */
|
||||
|
||||
@@ -305,14 +305,13 @@ int parse_line(char *line, char *words[], int max_words)
|
||||
return nwords;
|
||||
}
|
||||
|
||||
void command_output_text( command_context_t *context, const char *data )
|
||||
void command_output_text(command_context_t *context, const char *data)
|
||||
{
|
||||
if( context && context->output_handler && data ){
|
||||
context->output_handler( context, data );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void command_print_n(command_context_t *context, char *format, ...)
|
||||
{
|
||||
char *string;
|
||||
@@ -728,10 +727,3 @@ int handle_time_command(struct command_context_s *cmd_ctx, char *cmd, char **arg
|
||||
|
||||
return retval;
|
||||
}
|
||||
/*
|
||||
* Local Variables: **
|
||||
* tab-width: 4 **
|
||||
* c-basic-offset: 4 **
|
||||
* End: **
|
||||
*/
|
||||
|
||||
|
||||
+1
-10
@@ -77,20 +77,11 @@ extern int command_run_line(command_context_t *context, char *line);
|
||||
extern int command_run_linef(command_context_t *context, char *format, ...);
|
||||
extern int command_run_line_internal(command_context_t *context, char *line);
|
||||
extern int command_run_file(command_context_t *context, FILE *file, enum command_mode mode);
|
||||
|
||||
extern void command_output_text(command_context_t *context, const char *data);
|
||||
|
||||
#define ERROR_COMMAND_CLOSE_CONNECTION (-600)
|
||||
#define ERROR_COMMAND_SYNTAX_ERROR (-601)
|
||||
|
||||
|
||||
extern int fast_and_dangerous;
|
||||
|
||||
#endif /* COMMAND_H */
|
||||
|
||||
/*
|
||||
* Local Variables: **
|
||||
* tab-width: 4 **
|
||||
* c-basic-offset: 4 **
|
||||
* End: **
|
||||
*/
|
||||
|
||||
|
||||
@@ -54,7 +54,13 @@
|
||||
#ifndef MAX
|
||||
#define MAX(a,b) (((a)>(b))?(a):(b))
|
||||
#endif
|
||||
|
||||
|
||||
/* for systems that do not support ENOTSUP
|
||||
* win32 being one of them */
|
||||
#ifndef ENOTSUP
|
||||
#define ENOTSUP 134 /* Not supported */
|
||||
#endif
|
||||
|
||||
/* gettimeofday() */
|
||||
#ifndef HAVE_GETTIMEOFDAY
|
||||
|
||||
|
||||
Reference in New Issue
Block a user