journal/fsprg: set -Wno-pointer-arithm only for that file
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 22 Apr 2017 22:49:49 +0000 (18:49 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 24 Apr 2017 01:47:26 +0000 (21:47 -0400)
commit521e7c3aea7cfc478380acb9857beb938855f00f
tree90eb313c966d1d42dfae71bbcf95595247e13371
parentbab8c072fd6303408ab2908ad8150e532e04c0c5
journal/fsprg: set -Wno-pointer-arithm only for that file

Both gcc and clang issue a host of warnings about void pointers used in
arithmetic. The warning must be ignored in that file to avoid multiple
warnings.

Makefile.am used to set this for all libsystemd-journal-internal.a sources,
because there's no finer granularity for warnings. Let's just set it for
this one file.
Makefile.am
src/journal/fsprg.c