--- libaitrpc/inc/aitrpc_pkt.h 2016/06/23 16:32:24 1.2.4.1 +++ libaitrpc/inc/aitrpc_pkt.h 2022/10/13 22:09:36 1.3.4.1 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitrpc_pkt.h,v 1.2.4.1 2016/06/23 16:32:24 misho Exp $ +* $Id: aitrpc_pkt.h,v 1.3.4.1 2022/10/13 22:09:36 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -12,7 +12,7 @@ terms: All of the documentation and software included in the ELWIX and AITNET Releases is copyrighted by ELWIX - Sofia/Bulgaria -Copyright 2004 - 2015 +Copyright 2004 - 2022 by Michael Pounov . All rights reserved. Redistribution and use in source and binary forms, with or without @@ -138,7 +138,7 @@ struct tagRPCCall { uint16_t call_tag; uint8_t call_argc; ait_val_t call_argv[0]; -} __packed; /* size == 20 bytes */ +} __attribute__((packed)); /* size == 20 bytes */ #define RPC_CHK_NOREPLY(x) (ntohl((u_long) (x)->call_req.flags) & RPC_NOREPLY) #define RPC_SET_ERRNO(x, _v) ((x)->call_rep.eno = (int32_t) htonl((_v))) #define RPC_SET_RETURN(x, _v) ((x)->call_rep.ret = (int32_t) htonl((_v)))