OSDN Git Service

Make efivar-dp.h inlines compatible with --std=c89
authorPeter Jones <pjones@redhat.com>
Thu, 30 Jun 2016 14:16:17 +0000 (10:16 -0400)
committerPeter Jones <pjones@redhat.com>
Thu, 30 Jun 2016 14:16:17 +0000 (10:16 -0400)
commit591b8f35ae5ad03ab8c2a7f91c0429ab4c1827cc
tree26c90780d4db4670b1f55189c4360be38d2a51a1
parent0ab9b7a8dc9f3341acf604829d71cf29e434a26a
Make efivar-dp.h inlines compatible with --std=c89

Some people still insist on compiling programs with a C standard from
the beginning of time, and that doesn't allow mixed declarations and
code.

We don't heavily depend on that, so this just fixes up the places where
we use it.

Fixes issue #54

Signed-off-by: Peter Jones <pjones@redhat.com>
src/include/efivar/efivar-dp.h