Do not hide prototype of check_capability()
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Wed, 2 May 2018 10:42:56 +0000 (12:42 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Wed, 2 May 2018 10:42:56 +0000 (12:42 +0200)
commit3653632a3c92774fdcfcbf82738bc2410588aaeb
tree9b92c5d7ef941704ba3b624bb328486a3df78d26
parentca6d2f62d82ba4d07d6f266e3abbe1c0230d2f5a
Do not hide prototype of check_capability()

We have a fallback definition for if <sys/capability.h> is not found.
That definition needs a prototype.

Noticed while checking with sparse on Mac OS.
src/daemon/common.h