mirror of
https://github.com/torvalds/linux.git
synced 2026-05-29 17:43:52 +02:00
xdrgen: Fix union declarations
Add a missing template file. This file is used when a union is defined as a public API (ie, "pragma public <union name>;"). Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
This commit is contained in:
parent
14282cc3cf
commit
f7cb94fad4
|
|
@ -0,0 +1,4 @@
|
|||
{# SPDX-License-Identifier: GPL-2.0 #}
|
||||
|
||||
bool xdrgen_decode_{{ name }}(struct xdr_stream *xdr, struct {{ name }} *ptr);
|
||||
bool xdrgen_encode_{{ name }}(struct xdr_stream *xdr, const struct {{ name }} *value);
|
||||
Loading…
Reference in New Issue
Block a user