summaryrefslogtreecommitdiff
path: root/tools/net/sunrpc/xdrgen/templates/C/constants/definition.j2
diff options
context:
space:
mode:
Diffstat (limited to 'tools/net/sunrpc/xdrgen/templates/C/constants/definition.j2')
-rw-r--r--tools/net/sunrpc/xdrgen/templates/C/constants/definition.j23
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/net/sunrpc/xdrgen/templates/C/constants/definition.j2 b/tools/net/sunrpc/xdrgen/templates/C/constants/definition.j2
new file mode 100644
index 000000000000..d648ca4193f8
--- /dev/null
+++ b/tools/net/sunrpc/xdrgen/templates/C/constants/definition.j2
@@ -0,0 +1,3 @@
+{# SPDX-License-Identifier: GPL-2.0 #}
+
+enum { {{ name }} = {{ value }} };