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] Simplify ptrace_names array declaration.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Simplify ptrace_names array declaration.
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 06 Mar 2006 19:56:11 +0000
Delivery-date: Mon, 06 Mar 2006 19:56:56 +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 kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 90c71ea18b50f4a7ee1c9fe03f9563a05befb8a6
# Parent  e9daf53072961711ec92ae7c868e30f373f18bc8
Simplify ptrace_names array declaration.

Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>

diff -r e9daf5307296 -r 90c71ea18b50 tools/libxc/xc_ptrace.c
--- a/tools/libxc/xc_ptrace.c   Mon Mar  6 17:15:10 2006
+++ b/tools/libxc/xc_ptrace.c   Mon Mar  6 18:26:30 2006
@@ -9,7 +9,7 @@
 #include "xc_ptrace.h"
 
 #ifdef DEBUG
-const char const * ptrace_names[] = {
+static char *ptrace_names[] = {
     "PTRACE_TRACEME",
     "PTRACE_PEEKTEXT",
     "PTRACE_PEEKDATA",

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Simplify ptrace_names array declaration., Xen patchbot -unstable <=