aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xenstore
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2011-03-31 18:13:50 +0100
committerIan Campbell <ian.campbell@citrix.com>2011-03-31 18:13:50 +0100
commit7d6a65a4fa4fecf767b3eb5d47b76b7297c3747a (patch)
tree67b32935a74300a0d360bc68ea5d0b4ebee61899 /tools/xenstore
parentd561caafdc88b8e6d069cbc1c2728d513c59ebed (diff)
downloadxen-7d6a65a4fa4fecf767b3eb5d47b76b7297c3747a.tar.gz
xen-7d6a65a4fa4fecf767b3eb5d47b76b7297c3747a.tar.bz2
xen-7d6a65a4fa4fecf767b3eb5d47b76b7297c3747a.zip
tools: blktap2: copy xenstore/hashtable.h into blktap2
hashtable.c has already been copied, forked and modified, there doesn't seem much point in avoiding the same for the header until someone feels motivated to properly refactor. Add comments to the various duplicated files cross-referencing each other for future reference and as a barrier to forking again... Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/xenstore')
-rw-r--r--tools/xenstore/hashtable.c6
-rw-r--r--tools/xenstore/hashtable.h6
-rw-r--r--tools/xenstore/hashtable_private.h6
3 files changed, 18 insertions, 0 deletions
diff --git a/tools/xenstore/hashtable.c b/tools/xenstore/hashtable.c
index 394b1cf9d0..3b89223085 100644
--- a/tools/xenstore/hashtable.c
+++ b/tools/xenstore/hashtable.c
@@ -1,5 +1,11 @@
/* Copyright (C) 2004 Christopher Clark <firstname.lastname@cl.cam.ac.uk> */
+/*
+ * There are duplicates of this code in:
+ * - tools/blktap2/drivers/hashtable.c
+ * - tools/vtpm_manager/util/hashtable.c
+ */
+
#include "hashtable.h"
#include "hashtable_private.h"
#include <stdlib.h>
diff --git a/tools/xenstore/hashtable.h b/tools/xenstore/hashtable.h
index b90781abd4..8e6bb5b85c 100644
--- a/tools/xenstore/hashtable.h
+++ b/tools/xenstore/hashtable.h
@@ -1,5 +1,11 @@
/* Copyright (C) 2002 Christopher Clark <firstname.lastname@cl.cam.ac.uk> */
+/*
+ * There are duplicates of this code in:
+ * - tools/blktap2/drivers/hashtable.h
+ * - tools/vtpm_manager/util/hashtable.h
+ */
+
#ifndef __HASHTABLE_CWC22_H__
#define __HASHTABLE_CWC22_H__
diff --git a/tools/xenstore/hashtable_private.h b/tools/xenstore/hashtable_private.h
index 3e95f60057..cabaffe72a 100644
--- a/tools/xenstore/hashtable_private.h
+++ b/tools/xenstore/hashtable_private.h
@@ -1,5 +1,11 @@
/* Copyright (C) 2002, 2004 Christopher Clark <firstname.lastname@cl.cam.ac.uk> */
+/*
+ * There are duplicates of this code in:
+ * - tools/blktap2/drivers/hashtable_private.h
+ * - tools/vtpm_manager/util/hashtable_private.h
+ */
+
#ifndef __HASHTABLE_PRIVATE_CWC22_H__
#define __HASHTABLE_PRIVATE_CWC22_H__