summaryrefslogtreecommitdiff
path: root/lib9p/core_gen/h.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib9p/core_gen/h.py')
-rw-r--r--lib9p/core_gen/h.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib9p/core_gen/h.py b/lib9p/core_gen/h.py
index ff070c6..3c857c1 100644
--- a/lib9p/core_gen/h.py
+++ b/lib9p/core_gen/h.py
@@ -201,10 +201,10 @@ def gen_h(versions: set[str], typs: list[idl.UserType]) -> str:
enum {c9util.ident('version')} {{
"""
- xversions = [
- "unknown = 0",
- *sorted(v for v in versions if v != "unknown"),
- ] # SPECIAL (initialization)
+ xversions = [ # SPECIAL (initialization)
+ "uninitialized = 0",
+ *sorted(v for v in versions if v != "uninitialized"),
+ ]
verwidth = max(len(v) for v in xversions)
for ver in xversions:
if ver in versions: