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-changelog

[Xen-changelog] convert initializers to C99 initializers

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] convert initializers to C99 initializers
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 10 Sep 2005 15:12:10 +0000
Delivery-date: Sat, 10 Sep 2005 15:10:38 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User vh249@xxxxxxxxxxxxxxxxxxxxxx
# Node ID 864d936a04827f9f02436cbea46b69644c0e5082
# Parent  aa1adbeecfcdafeb2cea4d4991368ff168a9329b
convert initializers to C99 initializers

Signed-off-by: Vincent Hanquez <vincent@xxxxxxxxxxxxx>

diff -r aa1adbeecfcd -r 864d936a0482 
linux-2.6-xen-sparse/drivers/xen/console/console.c
--- a/linux-2.6-xen-sparse/drivers/xen/console/console.c        Sat Sep 10 
14:24:39 2005
+++ b/linux-2.6-xen-sparse/drivers/xen/console/console.c        Sat Sep 10 
14:38:01 2005
@@ -182,9 +182,9 @@
 #endif
 
 static struct console kcons_info = {
-    device:  kcons_device,
-    flags:   CON_PRINTBUFFER,
-    index:   -1
+    .device    = kcons_device,
+    .flags     = CON_PRINTBUFFER,
+    .index     = -1,
 };
 
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
diff -r aa1adbeecfcd -r 864d936a0482 
linux-2.6-xen-sparse/drivers/xen/evtchn/evtchn.c
--- a/linux-2.6-xen-sparse/drivers/xen/evtchn/evtchn.c  Sat Sep 10 14:24:39 2005
+++ b/linux-2.6-xen-sparse/drivers/xen/evtchn/evtchn.c  Sat Sep 10 14:38:01 2005
@@ -356,14 +356,14 @@
 }
 
 static struct file_operations evtchn_fops = {
-    owner:    THIS_MODULE,
-    read:     evtchn_read,
-    write:    evtchn_write,
-    ioctl:    evtchn_ioctl,
-    poll:     evtchn_poll,
-    fasync:   evtchn_fasync,
-    open:     evtchn_open,
-    release:  evtchn_release
+    .owner   = THIS_MODULE,
+    .read    = evtchn_read,
+    .write   = evtchn_write,
+    .ioctl   = evtchn_ioctl,
+    .poll    = evtchn_poll,
+    .fasync  = evtchn_fasync,
+    .open    = evtchn_open,
+    .release = evtchn_release,
 };
 
 static struct miscdevice evtchn_miscdev = {
diff -r aa1adbeecfcd -r 864d936a0482 
linux-2.6-xen-sparse/drivers/xen/privcmd/privcmd.c
--- a/linux-2.6-xen-sparse/drivers/xen/privcmd/privcmd.c        Sat Sep 10 
14:24:39 2005
+++ b/linux-2.6-xen-sparse/drivers/xen/privcmd/privcmd.c        Sat Sep 10 
14:38:01 2005
@@ -241,8 +241,8 @@
 }
 
 static struct file_operations privcmd_file_ops = {
-    ioctl : privcmd_ioctl,
-    mmap:   privcmd_mmap
+    .ioctl = privcmd_ioctl,
+    .mmap  = privcmd_mmap,
 };
 
 
diff -r aa1adbeecfcd -r 864d936a0482 
linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_dev.c
--- a/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_dev.c      Sat Sep 10 
14:24:39 2005
+++ b/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_dev.c      Sat Sep 10 
14:38:01 2005
@@ -168,9 +168,9 @@
 }
 
 static struct file_operations xenbus_dev_file_ops = {
-       ioctl: xenbus_dev_ioctl,
-       open: xenbus_dev_open,
-       release: xenbus_dev_release
+       .ioctl = xenbus_dev_ioctl,
+       .open = xenbus_dev_open,
+       .release = xenbus_dev_release,
 };
 
 static int __init

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] convert initializers to C99 initializers, Xen patchbot -unstable <=