--- libaitrpc/src/cli.c 2013/04/02 15:50:14 1.15 +++ libaitrpc/src/cli.c 2013/08/21 22:34:18 1.16.8.1 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: cli.c,v 1.15 2013/04/02 15:50:14 misho Exp $ +* $Id: cli.c,v 1.16.8.1 2013/08/21 22:34:18 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -423,7 +423,6 @@ rpc_pkt_Request(ait_val_t * __restrict pkt, rpc_sess_t rpc = (struct tagRPCCall*) buf; rpc_addPktSession(&rpc->call_session, sess); rpc->call_tag = htons(tag); - rpc->call_seq = htons(random() % USHRT_MAX); if (!vars) rpc->call_argc = 0; else @@ -585,7 +584,7 @@ rpc_cli_execCall(rpc_cli_t *cli, int noreply, u_short * @out_vars = Returned array with variables from RPC call * return: none */ -inline void +void rpc_cli_freeCall(array_t ** __restrict out_vars) { #ifdef CLI_RES_ZCOPY @@ -601,7 +600,7 @@ rpc_cli_freeCall(array_t ** __restrict out_vars) * @cli = connected client * return: -1 error or !=-1 ping seq id */ -inline int +int rpc_cli_ping(rpc_cli_t *cli) { int ret = 0;