Re: [PATCH 1/4] NLM: Kill PROC macro from NLMv1 and NLMv3 server procedures

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2009-07-16 at 17:29 +0800, Bian Naimeng wrote:

> +	[NLMPROC_NSM_NOTIFY] = {
> +		.pc_func	= (svc_procfunc) nlmsvc_proc_sm_notify,
> +		.pc_decode	= (kxdrproc_t) nlmsvc_decode_reboot,
> +		.pc_encode	= (kxdrproc_t) nlmsvc_encode_void,
> +		.pc_release	= NULL,
> +		.pc_argsize	= sizeof(struct nlm_reboot),
> +		.pc_ressize	= sizeof(struct nlm_void),
> +		.pc_xdrressize	= 1,
> +	},
> +	NLMSVC_NONE_PROC,
> +	NLMSVC_NONE_PROC,
> +	NLMSVC_NONE_PROC,

Hmm... Does the C standard really allow you to mix C99 initialisers and
K&R initialisers in this manner?

Cheers
  Trond

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux