repo.or.cz
/
smatch.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
avoid warning on explicit 'bool <- restricted' casts
[smatch.git]
/
validation
/
static-forward-decl.c
blob
daad1ecb11e02b7f228ae77e59cb6b680c3f300c
1
static int
f
(
void
);
2
3
int
f
(
void
)
4
{
5
return
0
;
6
}
7
/*
8
* check-name: static forward declaration
9
*
10
* check-error-start
11
static-forward-decl.c:3:5: warning: symbol 'f' was not declared. Should it be static?
12
* check-error-end
13
*/