mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-26 07:55:01 +00:00
dtrace tests: Rename some test type names to avoid a conflict
MFC after: 1 week Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
e1700a36a9
commit
6a05f14381
@ -37,23 +37,23 @@
|
||||
|
||||
#pragma D option quiet
|
||||
|
||||
struct input_struct {
|
||||
struct dtrace_input_struct {
|
||||
int ii;
|
||||
char ic;
|
||||
};
|
||||
|
||||
struct output_struct {
|
||||
struct dtrace_output_struct {
|
||||
int oi;
|
||||
char oc;
|
||||
};
|
||||
|
||||
typedef struct output_struct output_t;
|
||||
typedef struct dtrace_output_struct dtrace_output_t;
|
||||
|
||||
|
||||
translator output_t < struct input_struct *ivar >
|
||||
translator dtrace_output_t < struct dtrace_input_struct *ivar >
|
||||
{
|
||||
oi = ((struct input_struct *) ivar)->ii;
|
||||
oc = ((struct input_struct *) ivar)->ic;
|
||||
oi = ((struct dtrace_input_struct *) ivar)->ii;
|
||||
oc = ((struct dtrace_input_struct *) ivar)->ic;
|
||||
};
|
||||
|
||||
BEGIN
|
||||
|
Loading…
Reference in New Issue
Block a user