File: 046_hurd_sundevdata

package info (click to toggle)
heimdal 7.8.git20221117.28daf24%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 37,024 kB
  • sloc: ansic: 363,849; sh: 7,613; javascript: 6,382; makefile: 4,567; perl: 1,936; yacc: 1,786; lex: 732; python: 725; awk: 468; java: 119; asm: 30
file content (32 lines) | stat: -rw-r--r-- 819 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
From: Brian May <bam@debian.org>
Date: Wed, 26 Apr 2017 06:29:23 +1000
Subject: hurd sundevdata

---
 lib/kafs/afssys.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/lib/kafs/afssys.c b/lib/kafs/afssys.c
index fe37c34..7e6c9e1 100644
--- a/lib/kafs/afssys.c
+++ b/lib/kafs/afssys.c
@@ -76,6 +76,9 @@ struct sundevdata {
     uint32_t param1;
     uint32_t syscall;
 };
+#ifdef __GNU__
+#define _IOT_sundevdata _IOT(_IOTS(uint32_t), 7, 0, 0, 0, 0)
+#endif
 #define VIOC_SUN_SYSCALL_DEV _IOW('C', 2, struct sundevdata)
 #else
 struct sundevdata {
@@ -87,6 +90,9 @@ struct sundevdata {
     uint64_t param1;
     uint64_t syscall;
 };
+#ifdef __GNU__
+#define _IOT_sundevdata _IOT(_IOTS(uint64_t), 7, 0, 0, 0, 0)
+#endif
 #define VIOC_SUN_SYSCALL_DEV _IOW('C', 1, struct sundevdata)
 #endif
 #endif /* _IOW */