projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove stdbool.h includes from C++ files
[babeltrace.git]
/
src
/
plugins
/
ctf
/
fs-sink
/
translate-ctf-ir-to-tsdl.cpp
diff --git
a/src/plugins/ctf/fs-sink/translate-ctf-ir-to-tsdl.cpp
b/src/plugins/ctf/fs-sink/translate-ctf-ir-to-tsdl.cpp
index c4224252c496206eb860d0db860fa0ea361fdc6b..f5f1e46ee4745205edba4b337efe7acf29929242 100644
(file)
--- a/
src/plugins/ctf/fs-sink/translate-ctf-ir-to-tsdl.cpp
+++ b/
src/plugins/ctf/fs-sink/translate-ctf-ir-to-tsdl.cpp
@@
-4,18
+4,18
@@
* Copyright 2019 Philippe Proulx <pproulx@efficios.com>
*/
* Copyright 2019 Philippe Proulx <pproulx@efficios.com>
*/
-#include "translate-ctf-ir-to-tsdl.hpp"
-
-#include <babeltrace2/babeltrace.h>
-#include "common/macros.h"
+#include <glib.h>
#include <stdio.h>
#include <stdio.h>
-#include <stdbool.h>
#include <string.h>
#include <string.h>
-#include <glib.h>
+
+#include <babeltrace2/babeltrace.h>
+
#include "common/assert.h"
#include "common/assert.h"
+#include "common/macros.h"
#include "compat/endian.h"
#include "fs-sink-ctf-meta.hpp"
#include "compat/endian.h"
#include "fs-sink-ctf-meta.hpp"
+#include "translate-ctf-ir-to-tsdl.hpp"
struct ctx
{
struct ctx
{
@@
-287,7
+287,7
@@
static void append_float_field_class(struct ctx *ctx, struct fs_sink_ctf_field_c
mant_dig, exp_dig, fc->base.base.alignment);
}
mant_dig, exp_dig, fc->base.base.alignment);
}
-static void append_string_field_class(struct ctx *ctx
, struct fs_sink_ctf_field_class_string *
)
+static void append_string_field_class(struct ctx *ctx)
{
g_string_append(ctx->tsdl, "string { encoding = UTF8; }");
}
{
g_string_append(ctx->tsdl, "string { encoding = UTF8; }");
}
@@
-489,7
+489,7
@@
static void append_field_class(struct ctx *ctx, struct fs_sink_ctf_field_class *
append_float_field_class(ctx, fs_sink_ctf_field_class_as_float(fc));
break;
case FS_SINK_CTF_FIELD_CLASS_TYPE_STRING:
append_float_field_class(ctx, fs_sink_ctf_field_class_as_float(fc));
break;
case FS_SINK_CTF_FIELD_CLASS_TYPE_STRING:
- append_string_field_class(ctx
, fs_sink_ctf_field_class_as_string(fc)
);
+ append_string_field_class(ctx);
break;
case FS_SINK_CTF_FIELD_CLASS_TYPE_STRUCT:
append_struct_field_class(ctx, fs_sink_ctf_field_class_as_struct(fc));
break;
case FS_SINK_CTF_FIELD_CLASS_TYPE_STRUCT:
append_struct_field_class(ctx, fs_sink_ctf_field_class_as_struct(fc));
This page took
0.023519 seconds
and
4
git commands to generate.