projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: make warnings (partial errors) visible
[babeltrace.git]
/
types
/
types.c
diff --git
a/types/types.c
b/types/types.c
index 4e96f443645ca72cec72f21ae409617ee140a2b6..450c93ba6b5206c9edcdd8fb726e92c0b029d73a 100644
(file)
--- a/
types/types.c
+++ b/
types/types.c
@@
-22,6
+22,7
@@
#include <babeltrace/format.h>
#include <babeltrace/babeltrace-internal.h>
#include <babeltrace/format.h>
#include <babeltrace/babeltrace-internal.h>
+#include <babeltrace/types.h>
#include <limits.h>
#include <glib.h>
#include <errno.h>
#include <limits.h>
#include <glib.h>
#include <errno.h>
@@
-146,7
+147,7
@@
end:
}
static struct definition_scope *
}
static struct definition_scope *
- get_definition_scope(struct definition *definition)
+ get_definition_scope(
const
struct definition *definition)
{
return definition->scope;
}
{
return definition->scope;
}
@@
-599,7
+600,7
@@
void free_definition_scope(struct definition_scope *scope)
g_free(scope);
}
g_free(scope);
}
-struct definition *lookup_definition(struct definition *definition,
+struct definition *lookup_definition(
const
struct definition *definition,
const char *field_name)
{
struct definition_scope *scope = get_definition_scope(definition);
const char *field_name)
{
struct definition_scope *scope = get_definition_scope(definition);
@@
-611,7
+612,7
@@
struct definition *lookup_definition(struct definition *definition,
scope);
}
scope);
}
-struct definition_integer *lookup_integer(struct definition *definition,
+struct definition_integer *lookup_integer(
const
struct definition *definition,
const char *field_name,
int signedness)
{
const char *field_name,
int signedness)
{
@@
-629,7
+630,7
@@
struct definition_integer *lookup_integer(struct definition *definition,
return lookup_integer;
}
return lookup_integer;
}
-struct definition_enum *lookup_enum(struct definition *definition,
+struct definition_enum *lookup_enum(
const
struct definition *definition,
const char *field_name,
int signedness)
{
const char *field_name,
int signedness)
{
@@
-647,7
+648,7
@@
struct definition_enum *lookup_enum(struct definition *definition,
return lookup_enum;
}
return lookup_enum;
}
-struct definition *lookup_variant(struct definition *definition,
+struct definition *lookup_variant(
const
struct definition *definition,
const char *field_name)
{
struct definition *lookup;
const char *field_name)
{
struct definition *lookup;
This page took
0.025049 seconds
and
4
git commands to generate.