mirror of
https://github.com/ipxe/ipxe
synced 2025-12-23 13:30:57 +03:00
[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>
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user