Skip to content

Commit 0f0775b

Browse files
authored
Avoid OCaml 5.3 compiler warnings (#6691)
2 parents 75db25c + 1c36d6b commit 0f0775b

File tree

105 files changed

+138
-73
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+138
-73
lines changed

ocaml/database/dune

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
threads.posix
5252
http_lib
5353
httpsvr
54+
unix
5455
uuid
5556
xapi-backtrace
5657
xapi-datamodel
@@ -78,6 +79,7 @@
7879
(name block_device_io)
7980
(modules block_device_io)
8081
(libraries
82+
unix
8183
xapi_database
8284
xapi-log
8385
xapi-stdext-pervasives
@@ -98,6 +100,7 @@
98100
http_lib
99101
httpsvr
100102
threads.posix
103+
unix
101104
xapi_database
102105
xapi-stdext-threads
103106
xapi-stdext-unix))
@@ -113,6 +116,7 @@
113116
rpclib.xml
114117
sexplib
115118
sexplib0
119+
unix
116120
xapi_database
117121
xml-light2))
118122

ocaml/doc/dune

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
mustache
66
rpclib.core
77
rpclib.json
8+
unix
89
uuid
910
xapi-consts
1011
xapi-datamodel

ocaml/forkexecd/cli/dune

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(executable
22
(modes exe)
33
(name fe_cli)
4-
(libraries forkexec))
4+
(libraries forkexec unix))
55

66
(install
77
(package xapi-forkexecd)

ocaml/forkexecd/lib/dune

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
rpclib.core
1111
rpclib.json
1212
rpclib.xml
13+
unix
1314
uuid
1415
xapi-backtrace
1516
xapi-log

ocaml/forkexecd/src/dune

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
astring
66
fd-send-recv
77
forkexec
8+
unix
89
uuid
910
xapi-log
1011
xapi-stdext-unix

ocaml/forkexecd/test/dune

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(executable
22
(modes exe)
33
(name fe_test)
4-
(libraries fmt forkexec mtime clock mtime.clock.os uuid xapi-stdext-unix fd-send-recv xapi-log))
4+
(libraries fmt forkexec mtime clock mtime.clock.os str uuid xapi-stdext-unix fd-send-recv xapi-log unix))
55

66
; preload library to redirect "/dev/log"
77
(rule

ocaml/gencert/dune

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
ptime.clock.os
1717
result
1818
rresult
19+
unix
1920
x509
2021
xapi-backtrace
2122
xapi-consts
@@ -32,6 +33,7 @@
3233
(libraries
3334
astring
3435
gencertlib
36+
unix
3537
x509
3638
xapi-inventory
3739
xapi_aux

ocaml/idl/dune

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
xapi-stdext-std
3434
xapi-stdext-pervasives
3535
xapi-stdext-unix
36+
unix
3637
)
3738
)
3839

ocaml/idl/json_backend/dune

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
(name gen_json)
44
(libraries
55
fmt
6+
unix
67
xapi-datamodel
78
xapi-consts
89
xapi-stdext-unix

ocaml/libs/clock/dune

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
fmt
2222
mtime.clock.os
2323
qcheck-core
24+
unix
2425
)
2526
)
2627

0 commit comments

Comments
 (0)