projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Create BSD wrapper for uuid
[babeltrace.git]
/
formats
/
ctf
/
metadata
/
ctf-visitor-generate-io-struct.c
diff --git
a/formats/ctf/metadata/ctf-visitor-generate-io-struct.c
b/formats/ctf/metadata/ctf-visitor-generate-io-struct.c
index 56aad2c9218832fb3878faa2c5d04ee332736f25..6a577b92be8396fc077980233c03e2b7991bfb64 100644
(file)
--- a/
formats/ctf/metadata/ctf-visitor-generate-io-struct.c
+++ b/
formats/ctf/metadata/ctf-visitor-generate-io-struct.c
@@
-29,7
+29,7
@@
#include <babeltrace/list.h>
#include <babeltrace/types.h>
#include <babeltrace/ctf/metadata.h>
#include <babeltrace/list.h>
#include <babeltrace/types.h>
#include <babeltrace/ctf/metadata.h>
-#include <
uuid
/uuid.h>
+#include <
babeltrace
/uuid.h>
#include "ctf-scanner.h"
#include "ctf-parser.h"
#include "ctf-ast.h"
#include "ctf-scanner.h"
#include "ctf-parser.h"
#include "ctf-ast.h"
@@
-234,7
+234,7
@@
int get_unary_uuid(struct bt_list_head *head, uuid_t *uuid)
assert(node->u.unary_expression.link == UNARY_LINK_UNKNOWN);
assert(i == 0);
src_string = node->u.unary_expression.u.string;
assert(node->u.unary_expression.link == UNARY_LINK_UNKNOWN);
assert(i == 0);
src_string = node->u.unary_expression.u.string;
- ret = uuid_parse(src_string, *uuid);
+ ret =
babeltrace_
uuid_parse(src_string, *uuid);
}
return ret;
}
}
return ret;
}
@@
-2044,7
+2044,7
@@
int ctf_trace_declaration_visit(FILE *fd, int depth, struct ctf_node *node, stru
goto error;
}
if (CTF_TRACE_FIELD_IS_SET(trace, uuid)
goto error;
}
if (CTF_TRACE_FIELD_IS_SET(trace, uuid)
- && uuid_compare(uuid, trace->uuid)) {
+ &&
babeltrace_
uuid_compare(uuid, trace->uuid)) {
fprintf(fd, "[error] %s: uuid mismatch\n", __func__);
ret = -EPERM;
goto error;
fprintf(fd, "[error] %s: uuid mismatch\n", __func__);
ret = -EPERM;
goto error;
This page took
0.023752 seconds
and
4
git commands to generate.