Simplify interface of dynlib_attr.
commit366e25a6d1caa30d8d336ce556f90f9ee46ca531
authorPhilipp Stephani <phst@google.com>
Sun, 4 Jun 2017 17:05:46 +0000 (4 19:05 +0200)
committerPhilipp Stephani <phst@google.com>
Sun, 4 Jun 2017 17:50:50 +0000 (4 19:50 +0200)
treecb9f9e423e07fa4c122ae3ddb86b2de9230103ec
parent045d21c20a60e2c336568516d620d6f98ca3642d
Simplify interface of dynlib_attr.

Instead of returning bool, set the argument pointers to NULL if the
information is not available.

* src/dynlib.c (dynlib_addr): Don't return bool.
src/dynlib.c
src/dynlib.h