[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] Allow cmdline_parse() to be used with const strings
# HG changeset patch # User David Vrabel <david.vrabel@xxxxxxxxxx> # Date 1332426407 0 # Node ID f165d51985d124af0f713a8ed5eb9ac90248e7d2 # Parent eb3b8574d4047f6f76cd41ed6357654e413a4053 Allow cmdline_parse() to be used with const strings Signed-off-by: David Vrabel <david.vrabel@xxxxxxxxxx> Acked-by: Keir Fraser <keir@xxxxxxx> Committed-by: Ian Campbell <ian.campbell@xxxxxxxxxx> --- diff -r eb3b8574d404 -r f165d51985d1 xen/common/kernel.c --- a/xen/common/kernel.c Thu Mar 22 14:26:46 2012 +0000 +++ b/xen/common/kernel.c Thu Mar 22 14:26:47 2012 +0000 @@ -48,7 +48,7 @@ } } -void __init cmdline_parse(char *cmdline) +void __init cmdline_parse(const char *cmdline) { char opt[100], *optval, *optkey, *q; const char *p = cmdline; diff -r eb3b8574d404 -r f165d51985d1 xen/include/xen/lib.h --- a/xen/include/xen/lib.h Thu Mar 22 14:26:46 2012 +0000 +++ b/xen/include/xen/lib.h Thu Mar 22 14:26:47 2012 +0000 @@ -56,7 +56,7 @@ struct domain; -void cmdline_parse(char *cmdline); +void cmdline_parse(const char *cmdline); int parse_bool(const char *s); /*#define DEBUG_TRACE_DUMP*/ _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |