diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-08-27 09:46:22 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-08-27 09:46:22 +0100 |
commit | 84901438e69bafe102552e0011fdf9427da05488 (patch) | |
tree | 63035fd49a9b2d40bdf13693511f64c0f93320e1 /extras/mini-os/include | |
parent | 55c1a137e78dfc18509ad83ad15e33d55468ed7b (diff) | |
download | xen-84901438e69bafe102552e0011fdf9427da05488.tar.gz xen-84901438e69bafe102552e0011fdf9427da05488.tar.bz2 xen-84901438e69bafe102552e0011fdf9427da05488.zip |
mini-os: make xenbus_read_integer and xenbus_printf take const strings
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Diffstat (limited to 'extras/mini-os/include')
-rw-r--r-- | extras/mini-os/include/xenbus.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/extras/mini-os/include/xenbus.h b/extras/mini-os/include/xenbus.h index f1585c9f70..b386592950 100644 --- a/extras/mini-os/include/xenbus.h +++ b/extras/mini-os/include/xenbus.h @@ -83,12 +83,12 @@ char *xenbus_transaction_end(xenbus_transaction_t, int abort, int *retry); /* Read path and parse it as an integer. Returns -1 on error. */ -int xenbus_read_integer(char *path); +int xenbus_read_integer(const char *path); /* Contraction of snprintf and xenbus_write(path/node). */ char* xenbus_printf(xenbus_transaction_t xbt, - char* node, char* path, - char* fmt, ...); + const char* node, const char* path, + const char* fmt, ...); /* Reset the XenBus system. */ void fini_xenbus(void); |