diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-10-03 12:50:36 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-10-03 12:50:36 -0600 |
commit | f401359d87f3375efdd39801652cc18574240049 (patch) | |
tree | 41b87fa415c356eb4e66fe545a89c254cf4c3cc3 /lib9p/include | |
parent | 4d451f90eba193a4ca2848c4ac7acccda96ed008 (diff) |
lib9p: Rename the generated files
Diffstat (limited to 'lib9p/include')
-rw-r--r-- | lib9p/include/lib9p/9p.generated.h (renamed from lib9p/include/lib9p/_types.h) | 9 | ||||
-rw-r--r-- | lib9p/include/lib9p/9p.h | 2 |
2 files changed, 5 insertions, 6 deletions
diff --git a/lib9p/include/lib9p/_types.h b/lib9p/include/lib9p/9p.generated.h index 576d481..c6aaee9 100644 --- a/lib9p/include/lib9p/_types.h +++ b/lib9p/include/lib9p/9p.generated.h @@ -1,7 +1,8 @@ -/* Generated by `./lib9p/types.gen lib9p/9P2000.txt lib9p/9P2000.u.txt lib9p/9P2000.e.txt`. DO NOT EDIT! */ +/* Generated by `./lib9p/9p.gen lib9p/9P2000.txt lib9p/9P2000.u.txt lib9p/9P2000.e.txt`. DO NOT EDIT! */ -#ifndef _LIB9P__TYPES_H_ -#define _LIB9P__TYPES_H_ +#ifndef _LIB9P_9P_H_ +# error Do not include <lib9p/9p.generated.h> directly; include <lib9p/9p.h> instead +#endif #include <stdint.h> /* for uint{n}_t types */ @@ -309,5 +310,3 @@ struct lib9p_msg_Tswrite { struct lib9p_msg_Rswrite { uint32_t count; }; - -#endif /* _LIB9P__TYPES_H_ */ diff --git a/lib9p/include/lib9p/9p.h b/lib9p/include/lib9p/9p.h index 2712998..8e57a86 100644 --- a/lib9p/include/lib9p/9p.h +++ b/lib9p/include/lib9p/9p.h @@ -10,8 +10,8 @@ #include <stdbool.h> #include <sys/types.h> /* for ssize_t */ +#include <lib9p/9p.generated.h> #include <lib9p/linux-errno.h> -#include <lib9p/_types.h> #define LIB9P_NOTAG ((uint16_t)~0U) #define LIB9P_NOFID ((uint32_t)~0U) |