tools/include: drop leading underscore from xen_list header

A leading underscore is used to indicate auto generated headers, and
the clean use of 'rm -f _*.h' will remove those.  _xen_list.h also
uses a leading underscore, but is checked in the repo and as such
cannot be removed as part of the clean rule.

Fix this by dropping the leading underscore, so that the header is not
removed.

Fixes: a03b3552d4 ('libs,tools/include: Clean "clean" targets')
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
This commit is contained in:
Roger Pau Monné authored and Andrew Cooper committed 2022-06-20 14:05:29 +01:00
1 parent c9040f25be
commit 9d067857d1
6 files changed
+6 -6

No files matched your search

+2 -2
View File
@@ -70,13 +70,13 @@ install: all
$(INSTALL_DATA) xen/io/*.h $(DESTDIR)$(includedir)/xen/io
$(INSTALL_DATA) xen/sys/*.h $(DESTDIR)$(includedir)/xen/sys
$(INSTALL_DATA) xen/xsm/*.h $(DESTDIR)$(includedir)/xen/xsm
$(INSTALL_DATA) _xen_list.h $(DESTDIR)$(includedir)
$(INSTALL_DATA) xen_list.h $(DESTDIR)$(includedir)
.PHONY: uninstall
uninstall:
echo "[FIXME] uninstall headers"
rm -rf $(DESTDIR)$(includedir)/xen
rm -f $(DESTDIR)$(includedir)/_xen_list.h
rm -f $(DESTDIR)$(includedir)/xen_list.h
.PHONY: clean
clean:
+1 -1
View File
@@ -747,7 +747,7 @@
typedef struct libxl__ctx libxl_ctx;
#include <libxl_uuid.h>
#include <_xen_list.h>
#include <xen_list.h>
/* API compatibility. */
#ifdef LIBXL_API_VERSION
File renamed without changes.
+1 -1
View File
@@ -27,7 +27,7 @@
#include <stddef.h>
#include "xentoolcore.h"
#include "_xen_list.h"
#include "xen_list.h"
/*---------- active handle registration ----------*/
+1 -1
View File
@@ -20,7 +20,7 @@
* Split off from xc_minios.c
*/
#include "_xen_list.h"
#include "xen_list.h"
#include <mini-os/types.h>
#include <mini-os/os.h>
#include <mini-os/lib.h>
+1 -1
View File
@@ -63,7 +63,7 @@
#include <yajl/yajl_gen.h>
#include "_xen_list.h"
#include "xen_list.h"
#include "libxl_internal.h"
/* #define DEBUG_RECEIVED */
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.