core: don't expose designated initializers in the library header
authorBartosz Golaszewski <bartekgola@gmail.com>
Wed, 1 Mar 2017 16:51:26 +0000 (17:51 +0100)
committerBartosz Golaszewski <bartekgola@gmail.com>
Wed, 1 Mar 2017 16:51:26 +0000 (17:51 +0100)
commit47b7f3cb2482e03ed1987d3ea4805fba9f523fb7
tree089ce2dc15db220ab4d94e2be2aa966070607849
parent00b0dfc70bef2e7b6d2db54042a6bf76e6b86b5e
core: don't expose designated initializers in the library header

We don't know who might want to include gpiod.h, so let's try to avoid
any C99 extensions in the header.

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
include/gpiod.h
src/lib/core.c