Debian Codegraph @

debian/patches/046_hurd_sundevdata

raw
1 From: Brian May <[email protected]>
2 Date: Wed, 26 Apr 2017 06:29:23 +1000
3 Subject: hurd sundevdata
4
5 ---
6 lib/kafs/afssys.c | 6 ++++++
7 1 file changed, 6 insertions(+)
8
9 diff --git a/lib/kafs/afssys.c b/lib/kafs/afssys.c
10 index fe37c34..7e6c9e1 100644
11 --- a/lib/kafs/afssys.c
12 +++ b/lib/kafs/afssys.c
13 @@ -76,6 +76,9 @@ struct sundevdata {
14 uint32_t param1;
15 uint32_t syscall;
16 };
17 +#ifdef __GNU__
18 +#define _IOT_sundevdata _IOT(_IOTS(uint32_t), 7, 0, 0, 0, 0)
19 +#endif
20 #define VIOC_SUN_SYSCALL_DEV _IOW('C', 2, struct sundevdata)
21 #else
22 struct sundevdata {
23 @@ -87,6 +90,9 @@ struct sundevdata {
24 uint64_t param1;
25 uint64_t syscall;
26 };
27 +#ifdef __GNU__
28 +#define _IOT_sundevdata _IOT(_IOTS(uint64_t), 7, 0, 0, 0, 0)
29 +#endif
30 #define VIOC_SUN_SYSCALL_DEV _IOW('C', 1, struct sundevdata)
31 #endif
32 #endif /* _IOW */