2003-05-21 Marcel Telka <marcel@telka.sk>

* include/bsbit.h (bsbit, bsbit_t): Renamed typedef bsbit to bsbit_t.
	All occurences of the bsbit type changed to bsbit_t.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@436 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Marcel Telka 22 years ago
parent 6a4a18109b
commit 9c7504d6fb

@ -1,3 +1,8 @@
2003-05-21 Marcel Telka <marcel@telka.sk>
* 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 <marcel@telka.sk>
* include/part.h (part_find_signal): New function declaration.

@ -25,7 +25,7 @@
#ifndef BSBIT_H
#define BSBIT_H
typedef struct bsbit bsbit;
typedef struct bsbit bsbit_t;
#include <signal.h>
@ -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 */

@ -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 );

@ -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 );

@ -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;

Loading…
Cancel
Save