1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-27 08:00:11 +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:
Mark Johnston 2022-08-02 20:32:08 -04:00
parent e1700a36a9
commit 6a05f14381

View File

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