Browse code

vf_drawtext: Move static keyword to beginning of variable declaration

libavfilter/vf_drawtext.c:226:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration]

Diego Biurrun authored on 2015/10/30 23:02:04
Showing 1 changed files
... ...
@@ -219,11 +219,10 @@ static const AVClass drawtext_class = {
219 219
 #define FT_ERRORDEF(e, v, s) { (e), (s) },
220 220
 #define FT_ERROR_END_LIST { 0, NULL } };
221 221
 
222
-struct ft_error
223
-{
222
+static struct ft_error {
224 223
     int err;
225 224
     const char *err_msg;
226
-} static ft_errors[] =
225
+} ft_errors[] =
227 226
 #include FT_ERRORS_H
228 227
 
229 228
 #define FT_ERRMSG(e) ft_errors[e].err_msg