[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Simplify ptrace_names array declaration.



# 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.