pmdinfogen: fix clang build
authorFerruh Yigit <ferruh.yigit@intel.com>
Wed, 28 Sep 2016 10:05:19 +0000 (11:05 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 4 Oct 2016 09:50:56 +0000 (11:50 +0200)
commitc5917f3918a5f61e7489f9884554d7723af1b3cf
treec93d9c2739768bfa0348e098c3ec75ddf58daca3
parent5230bc4c77cae884eda5ac392887339108a2b763
pmdinfogen: fix clang build

Compile error:
  CC mlx5.o.pmd.o
mlx5.o.pmd.c:1:227:
error: no newline at end of file [-Werror,-Wnewline-eof]
  ...__attribute__((used)) = "PMD_INFO_STRING= {...}";
                                                      ^

Produced with clang 3.8.0 and MLX5_PMD and MLX5_DEBUG
config options enabled.

Fixes: 98b0fdb0ffc6 ("pmdinfogen: add buildtools and pmdinfogen utility")

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
buildtools/pmdinfogen/pmdinfogen.c