WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] linux merge - remove typedefs

Subject: [Xen-devel] [PATCH] linux merge - remove typedefs
From: "Mike D. Day" <ncmike@xxxxxxxxxx>
Date: Tue, 24 Jan 2006 20:26:44 -0500
Delivery-date: Wed, 25 Jan 2006 10:07:53 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Reply-to: ncmike@xxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
While working on putting version info into sysfs I removed the typedefs in xen/

# HG changeset patch
# User mdday@xxxxxxxxxxxxxxxxxxxx
# Node ID 8fdb718d6c9975bc8ff4a4d4ed1af43f599b3d1c
# Parent  a38c292e8390370ec9473a6444bd63be7e437afe


Linux merge: remove typedefs from /include/asm-xen/xen-public/version.h

signed-off-by: Mike D. Day <ncmike@xxxxxxxxxx>

diff -r a38c292e8390 -r 8fdb718d6c99 xen/include/public/version.h
--- a/xen/include/public/version.h      Tue Jan 24 16:54:34 2006
+++ b/xen/include/public/version.h      Wed Jan 25 00:49:21 2006
        @@ -15,29 +15,29 @@
 /* arg == NULL; returns major:minor (16:16). */
 #define XENVER_version      0
 
-/* arg == xen_extraversion_t. */
+/* arg == char extraversion[16]; */
 #define XENVER_extraversion 1
-typedef char xen_extraversion_t[16];
 
-/* arg == xen_compile_info_t. */
+/* arg == struct xen_compile_info */
 #define XENVER_compile_info 2
-typedef struct xen_compile_info {
+struct xen_compile_info {
     char compiler[64];
     char compile_by[16];
     char compile_domain[32];
     char compile_date[32];
-} xen_compile_info_t;
+} ;
 
+/* arg == char capabilities_info [1024]; */
 #define XENVER_capabilities 3
-typedef char xen_capabilities_info_t[1024];
 
+/* arg == char changeset_info[64]; */
 #define XENVER_changeset 4
-typedef char xen_changeset_info_t[64];
 
+/* arg == struct xen_platform_parameters */
 #define XENVER_platform_parameters 5
-typedef struct xen_platform_parameters {
+struct xen_platform_parameters {
     unsigned long virt_start;
-} xen_platform_parameters_t;
+} ;
 
 #endif /* __XEN_PUBLIC_VERSION_H__ */
 
        

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

<Prev in Thread] Current Thread [Next in Thread>