Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
dcc59638
Commit
dcc59638
authored
Jul 08, 2015
by
Christoph Mallon
Browse files
adt: Use a flexible array member instead of bogus [1].
parent
52f2a1d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/adt/pdeq.c
View file @
dcc59638
...
...
@@ -52,7 +52,7 @@ struct pdeq {
pdeq
*
l
,
*
r
;
/**< left and right neighbor */
size_t
n
;
/**< number of elements in the current chunk */
size_t
p
;
/**< the read/write pointer */
const
void
*
data
[
1
];
/**< storage for elements */
const
void
*
data
[];
/**< storage for elements */
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment