]> xenbits.xensource.com Git - people/sstabellini/xen-unstable.git/.git/commitdiff
tools/libxendevicemodel: Strip __XEN_TOOLS__ header guard
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 4 Mar 2021 12:44:44 +0000 (12:44 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 4 Mar 2021 15:54:25 +0000 (15:54 +0000)
This is inappropriate for the header file of a standalone library with stable
API and ABI.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Ian Jackson <iwj@xenproject.org>
Release-Acked-by: Ian Jackson <iwj@xenproject.org>
tools/include/xendevicemodel.h

index 33698d67f380c3d7798a0c71a06d79f9d2966a41..797e0c6b2961926a68cd96b8ff5e1627067903ac 100644 (file)
@@ -17,8 +17,6 @@
 #ifndef XENDEVICEMODEL_H
 #define XENDEVICEMODEL_H
 
-#ifdef __XEN_TOOLS__
-
 #include <stdint.h>
 
 #include <xen/xen.h>
@@ -377,8 +375,6 @@ int xendevicemodel_nr_vcpus(
  */
 int xendevicemodel_restrict(xendevicemodel_handle *dmod, domid_t domid);
 
-#endif /* __XEN_TOOLS__ */
-
 #endif /* XENDEVICEMODEL_H */
 
 /*