tools-common: new source file
authorBartosz Golaszewski <bartekgola@gmail.com>
Fri, 6 Jan 2017 14:13:07 +0000 (15:13 +0100)
committerBartosz Golaszewski <bartekgola@gmail.com>
Fri, 6 Jan 2017 14:14:36 +0000 (15:14 +0100)
commitd184d41670728bc6516e8089c100ebe9c4f9cdca
tree63b8468b8f17662c21bab60faf8b1f118074910a
parentb923e8a712c7c39eb57e83279ea092efce09070e
tools-common: new source file

Introduce a .c file containing code that is common across all GPIO
tools but not really related to the libgpiod functionality. This file
is statically linked with every executable.

While we're at it - make gpiodetect use it right away.

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
Makefile.am
gpiodetect.c
tools-common.c [new file with mode: 0644]
tools-common.h [new file with mode: 0644]