Fix clang warnings.
* src/base/ftdebug.c (ft_trace_level_enabled, ft_trace_level_disabled): Add `static' keyword.
This commit is contained in:
parent
e16bfbec4c
commit
c8ef0fd07c
|
@ -1,3 +1,10 @@
|
|||
2018-08-10 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
Fix clang warnings.
|
||||
|
||||
* src/base/ftdebug.c (ft_trace_level_enabled,
|
||||
ft_trace_level_disabled): Add `static' keyword.
|
||||
|
||||
2018-08-09 Alexei Podtelezhnikov <apodtele@gmail.com>
|
||||
|
||||
[raster, smooth] Reinstate bitmap size limits.
|
||||
|
|
|
@ -102,10 +102,10 @@
|
|||
|
||||
/* array of trace levels, initialized to 0; */
|
||||
/* this gets adjusted at run-time */
|
||||
int ft_trace_levels_enabled[trace_count];
|
||||
static int ft_trace_levels_enabled[trace_count];
|
||||
|
||||
/* array of trace levels, always initialized to 0 */
|
||||
int ft_trace_levels_disabled[trace_count];
|
||||
static int ft_trace_levels_disabled[trace_count];
|
||||
|
||||
/* a pointer to either `ft_trace_levels_enabled' */
|
||||
/* or `ft_trace_levels_disabled' */
|
||||
|
|
Loading…
Reference in New Issue