Skip to content

Commit

Permalink
platform/cacheline.c: mark compilation-unit private variables static
Browse files Browse the repository at this point in the history
Fixes compiler diagnostic:

cacheline.c:31:8: warning: no previous extern declaration for
    non-static variable 'cacheline_size'
    [-Wmissing-variable-declarations]
  • Loading branch information
aaronmdjones committed Jan 18, 2019
1 parent a06709c commit 66d0b53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libmowgli/platform/cacheline.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
# include <sys/sysctl.h>
#endif

size_t cacheline_size;
static size_t cacheline_size = 0;

void
mowgli_cacheline_bootstrap(void)
Expand Down

0 comments on commit 66d0b53

Please sign in to comment.