All of lore.kernel.org
 help / color / mirror / Atom feed
From: aq <aquynh@gmail.com>
To: Xen Dev <xen-devel@lists.xensource.com>
Subject: [PATCH] xs.h and xs_lib.h
Date: Fri, 10 Jun 2005 03:32:49 -0500	[thread overview]
Message-ID: <9cde8bff050610013219cd249d@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 462 bytes --]

This patch moves declaration of xs_handle from xs.c to xs.h. Besides,
it installs xs.h and xs_lib.h to /usr/include, and gets top Makefile
uninstalled them when cleaning up.

Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>

# diffstat xenstore2.patch 
 Makefile                |    1 +
 tools/xenstore/Makefile |    2 ++
 tools/xenstore/xs.c     |    5 -----
 tools/xenstore/xs.h     |    5 ++++-
 4 files changed, 7 insertions(+), 6 deletions(-)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: xenstore2.patch --]
[-- Type: text/x-patch; name="xenstore2.patch", Size: 1692 bytes --]

===== Makefile 1.96 vs edited =====
--- 1.96/Makefile	2005-06-10 01:56:35 -05:00
+++ edited/Makefile	2005-06-10 03:24:17 -05:00
@@ -166,6 +166,7 @@
 	rm -rf $(D)/usr/$(LIBDIR)/share/xen $(D)/usr/$(LIBDIR)/libxenstore*
 	rm -rf $(D)/var/run/xen* $(D)/var/lib/xen*
 	rm -rf $(D)/usr/include/xcs_proto.h $(D)/usr/include/xc.h
+	rm -rf $(D)/usr/include/xs.h $(D)/usr/include/xs_lib.h
 	rm -rf $(D)/usr/sbin/xcs $(D)/usr/sbin/xcsdump $(D)/usr/sbin/xen*
 	rm -rf $(D)/usr/sbin/netfix
 	rm -rf $(D)/usr/sbin/xfrd $(D)/usr/sbin/xm
===== tools/xenstore/Makefile 1.3 vs edited =====
--- 1.3/tools/xenstore/Makefile	2005-06-09 15:07:32 -05:00
+++ edited/tools/xenstore/Makefile	2005-06-10 03:06:55 -05:00
@@ -95,5 +95,7 @@
 	$(INSTALL_PROG) xenstored $(DESTDIR)/usr/sbin
 	$(INSTALL_DIR) -p $(DESTDIR)/usr/$(LIBDIR)
 	$(INSTALL_DATA) libxenstore.a $(DESTDIR)/usr/$(LIBDIR)
+	$(INSTALL_DATA) xs.h $(DESTDIR)/usr/include
+	$(INSTALL_DATA) xs_lib.h $(DESTDIR)/usr/include
 
 -include $(PROG_DEP)
===== tools/xenstore/xs.c 1.1 vs edited =====
--- 1.1/tools/xenstore/xs.c	2005-06-07 05:57:29 -05:00
+++ edited/tools/xenstore/xs.c	2005-06-10 03:06:55 -05:00
@@ -36,11 +36,6 @@
 #include "xs_lib.h"
 #include "utils.h"
 
-struct xs_handle
-{
-	int fd;
-};
-
 /* Get the socket from the store daemon handle.
  */
 int xs_fileno(struct xs_handle *h)
===== tools/xenstore/xs.h 1.1 vs edited =====
--- 1.1/tools/xenstore/xs.h	2005-06-07 05:57:29 -05:00
+++ edited/tools/xenstore/xs.h	2005-06-10 03:08:20 -05:00
@@ -22,7 +22,10 @@
 /* On failure, these routines set errno. */
 #include "xs_lib.h"
 
-struct xs_handle;
+struct xs_handle
+{
+	int fd;
+};
 
 /* Connect to the xs daemon.
  * Returns a handle or NULL.

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

             reply	other threads:[~2005-06-10  8:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-10  8:32 aq [this message]
2005-06-10  8:31 ` [PATCH] xs.h and xs_lib.h Keir Fraser
2005-06-12  6:36 ` Rusty Russell
2005-06-12 15:14   ` aq
2005-06-14  0:32     ` Rusty Russell
2005-06-14  4:46       ` aq
2005-06-14 22:49         ` Rusty Russell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9cde8bff050610013219cd249d@mail.gmail.com \
    --to=aquynh@gmail.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.