projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace libuuid with internal implementation
[babeltrace.git]
/
tests
/
ctf-writer
/
ctf_writer.c
diff --git
a/tests/ctf-writer/ctf_writer.c
b/tests/ctf-writer/ctf_writer.c
index 1ed4cc6737d764f730c1b8d2b7e00215b1be392e..81dc58d74ee748827af2ba96057e86d4aad6f504 100644
(file)
--- a/
tests/ctf-writer/ctf_writer.c
+++ b/
tests/ctf-writer/ctf_writer.c
@@
-38,6
+38,7
@@
#include "compat/stdio.h"
#include <string.h>
#include "common/assert.h"
#include "compat/stdio.h"
#include <string.h>
#include "common/assert.h"
+#include "common/uuid.h"
#include <fcntl.h>
#include "tap/tap.h"
#include <math.h>
#include <fcntl.h>
#include "tap/tap.h"
#include <math.h>
@@
-72,7
+73,7
@@
static unsigned int packet_resize_test_length = PACKET_RESIZE_TEST_DEF_LENGTH;
/* Return 1 if uuids match, zero if different. */
static
/* Return 1 if uuids match, zero if different. */
static
-int uuid_match(const u
nsigned char *uuid_a, const unsigned char
*uuid_b)
+int uuid_match(const u
int8_t *uuid_a, const uint8_t
*uuid_b)
{
int ret = 0;
int i;
{
int ret = 0;
int i;
@@
-1600,8
+1601,8
@@
int main(int argc, char **argv)
struct bt_ctf_stream *stream1;
struct bt_ctf_stream *stream;
const char *ret_string;
struct bt_ctf_stream *stream1;
struct bt_ctf_stream *stream;
const char *ret_string;
- const u
nsigned char
*ret_uuid;
-
unsigned char tmp_uuid[16]
= { 0 };
+ const u
int8_t
*ret_uuid;
+
bt_uuid_t tmp_uuid
= { 0 };
struct bt_ctf_field_type *packet_context_type,
*packet_context_field_type,
*packet_header_type,
struct bt_ctf_field_type *packet_context_type,
*packet_context_field_type,
*packet_header_type,
This page took
0.023648 seconds
and
4
git commands to generate.