tools/xenstore: Document that xs_close(0) is OK.
authorIan Jackson <ian.jackson@eu.citrix.com>
Fri, 2 Nov 2018 17:01:07 +0000 (17:01 +0000)
committerWei Liu <wei.liu2@citrix.com>
Wed, 28 Nov 2018 11:40:26 +0000 (11:40 +0000)
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/xenstore/include/xenstore.h

index 064b62c455f66edc501a7ab75aad38a8a330100b..889dc2386351ed69a874355af095a4eba2eecb65 100644 (file)
@@ -77,7 +77,7 @@ typedef uint32_t xs_transaction_t;
 struct xs_handle *xs_open(unsigned long flags);
 
 /* Close the connection to the xs daemon. */
-void xs_close(struct xs_handle *xsh);
+void xs_close(struct xs_handle *xsh /* NULL ok */);
 
 /* Connect to the xs daemon.
  * Returns a handle or NULL.