common_functions: add special handling of sprintf() and snprintf()
[smatch.git] / validation / static-forward-decl.c
blobdaad1ecb11e02b7f228ae77e59cb6b680c3f300c
1 static int f(void);
3 int f(void)
5 return 0;
7 /*
8 * check-name: static forward declaration
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