diff options
author | Michael Brown | 2012-04-16 22:47:35 +0200 |
---|---|---|
committer | Michael Brown | 2012-04-17 11:46:50 +0200 |
commit | 831b16addefd7e26ed1027deb7f089ad1350d1f2 (patch) | |
tree | 73f1a88578b31112ef7a5db7925e961c34d54c5b /src/core/uuid.c | |
parent | [test] Add self-tests for setting types (diff) | |
download | ipxe-831b16addefd7e26ed1027deb7f089ad1350d1f2.tar.gz ipxe-831b16addefd7e26ed1027deb7f089ad1350d1f2.tar.xz ipxe-831b16addefd7e26ed1027deb7f089ad1350d1f2.zip |
[settings] Split fetching and storing out of setting type handlers
Refactor setting type handlers to parse and format values, rather than
storing and fetching formatted values.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/core/uuid.c')
-rw-r--r-- | src/core/uuid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/uuid.c b/src/core/uuid.c index d98553f0..cc41afda 100644 --- a/src/core/uuid.c +++ b/src/core/uuid.c @@ -35,7 +35,7 @@ FILE_LICENCE ( GPL2_OR_LATER ); * @v uuid UUID * @ret string UUID in canonical form */ -char * uuid_ntoa ( union uuid *uuid ) { +char * uuid_ntoa ( const union uuid *uuid ) { static char buf[37]; /* "00000000-0000-0000-0000-000000000000" */ sprintf ( buf, "%08x-%04x-%04x-%04x-%02x%02x%02x%02x%02x%02x", |