[XEN PATCH 02/11] libxl: Remove duplicate libxl_domain_config_gen_json prototype

Anthony PERARD posted 11 patches 4 months, 1 week ago
There is a newer version of this series
[XEN PATCH 02/11] libxl: Remove duplicate libxl_domain_config_gen_json prototype
Posted by Anthony PERARD 4 months, 1 week ago
From: Anthony PERARD <anthony.perard@vates.tech>

Since f9e681d3d1b8, the prototype of libxl_domain_config_gen_json is
generated from IDL in _libxl_types_json.h.

Fixes: f9e681d3d1b8 ("libxl: move definition of libxl_domain_config into the IDL")
Signed-off-by: Anthony PERARD <anthony.perard@vates.tech>
---
 tools/include/libxl_json.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/tools/include/libxl_json.h b/tools/include/libxl_json.h
index 260783bfde..3f97267eae 100644
--- a/tools/include/libxl_json.h
+++ b/tools/include/libxl_json.h
@@ -90,7 +90,4 @@ static inline yajl_gen libxl_yajl_gen_alloc(const yajl_alloc_funcs *allocFuncs)
 
 #endif /* !HAVE_YAJL_V2 */
 
-yajl_gen_status libxl_domain_config_gen_json(yajl_gen hand,
-                                             libxl_domain_config *p);
-
 #endif /* LIBXL_JSON_H */
-- 
Anthony PERARD
Re: [XEN PATCH 02/11] libxl: Remove duplicate libxl_domain_config_gen_json prototype
Posted by Jason Andryuk 3 months, 2 weeks ago
On 2025-08-08 10:55, Anthony PERARD wrote:
> From: Anthony PERARD <anthony.perard@vates.tech>
> 
> Since f9e681d3d1b8, the prototype of libxl_domain_config_gen_json is
> generated from IDL in _libxl_types_json.h.
> 
> Fixes: f9e681d3d1b8 ("libxl: move definition of libxl_domain_config into the IDL")
> Signed-off-by: Anthony PERARD <anthony.perard@vates.tech>

Reviewed-by: Jason Andryuk <jason.andryuk@amd.com>