X-Git-Url: https://git.dlugolecki.net.pl/?p=vlp.git;a=blobdiff_plain;f=head%2Fcomm.h;h=4ebc08b850be8f1a23119e971741f791b1ea023b;hp=44cb6be3ff8613b1d78956bf0c43a83d33bb3254;hb=e702805740237c3ce3bc4c5de9466d3f0d630595;hpb=9db87b545def5d31a64608f2eb082d915ad5efa4 diff --git a/head/comm.h b/head/comm.h index 44cb6be..4ebc08b 100644 --- a/head/comm.h +++ b/head/comm.h @@ -12,20 +12,20 @@ typedef struct { int mark; } paddr; -struct ctrl_msg +typedef struct { paddr sender; /* address of the sender and */ paddr receiver; /* receiver of the message */ int type; /* message type */ int par; /* prototype or error signal number */ -}; +} ctrl_msg; typedef struct { - struct ctrl_msg control; - char params[ 256-sizeof(struct ctrl_msg) ]; + ctrl_msg control; + char params[ 256-sizeof(ctrl_msg) ]; } messg;