diff --git a/jtag/ChangeLog b/jtag/ChangeLog index 9d1cafe4..73f1950c 100644 --- a/jtag/ChangeLog +++ b/jtag/ChangeLog @@ -1,3 +1,8 @@ +2003-05-21 Marcel Telka + + * include/bsbit.h (bsbit, bsbit_t): Renamed typedef bsbit to bsbit_t. + All occurences of the bsbit type changed to bsbit_t. + 2003-05-21 Marcel Telka * include/part.h (part_find_signal): New function declaration. diff --git a/jtag/include/bsbit.h b/jtag/include/bsbit.h index bc0a9e09..b69adaab 100644 --- a/jtag/include/bsbit.h +++ b/jtag/include/bsbit.h @@ -25,7 +25,7 @@ #ifndef BSBIT_H #define BSBIT_H -typedef struct bsbit bsbit; +typedef struct bsbit bsbit_t; #include @@ -48,7 +48,7 @@ struct bsbit { int control_state; }; -bsbit *bsbit_alloc( int bit, const char *name, int type, signal_t* signals, int safe ); -void bsbit_free( bsbit *b ); +bsbit_t *bsbit_alloc( int bit, const char *name, int type, signal_t *signals, int safe ); +void bsbit_free( bsbit_t *b ); #endif /* BSBIT_H */ diff --git a/jtag/include/part.h b/jtag/include/part.h index a8b2630a..1635accd 100644 --- a/jtag/include/part.h +++ b/jtag/include/part.h @@ -48,7 +48,7 @@ struct part { instruction *active_instruction; data_register *data_registers; int boundary_length; - bsbit **bsbits; + bsbit_t **bsbits; }; part_t *part_alloc( void ); diff --git a/jtag/include/signal.h b/jtag/include/signal.h index 57bc49b2..eeda9e8d 100644 --- a/jtag/include/signal.h +++ b/jtag/include/signal.h @@ -32,8 +32,8 @@ typedef struct signal signal_t; struct signal { char *name; signal_t *next; - bsbit *input; - bsbit *output; + bsbit_t *input; + bsbit_t *output; }; signal_t *signal_alloc( const char *name ); diff --git a/jtag/src/part/bsbit.c b/jtag/src/part/bsbit.c index fbb6661f..cfb55e0e 100644 --- a/jtag/src/part/bsbit.c +++ b/jtag/src/part/bsbit.c @@ -27,12 +27,12 @@ #include "bsbit.h" -bsbit * -bsbit_alloc( int bit, const char *name, int type, signal_t* signals, int safe ) +bsbit_t * +bsbit_alloc( int bit, const char *name, int type, signal_t *signals, int safe ) { signal_t *s = signals; - bsbit *b = malloc( sizeof *b ); + bsbit_t *b = malloc( sizeof *b ); if (!b) return NULL; @@ -72,7 +72,7 @@ bsbit_alloc( int bit, const char *name, int type, signal_t* signals, int safe ) } void -bsbit_free( bsbit *b ) +bsbit_free( bsbit_t *b ) { if (!b) return;