]> granicus.if.org Git - procps-ng/commit
library: eliminate inappropriate '__BEGIN_DECLS' macro
authorJim Warner <james.warner@comcast.net>
Fri, 6 Apr 2018 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@enc.com.au>
Sat, 5 May 2018 21:19:38 +0000 (07:19 +1000)
commitbae272fe224b5cc7e6b97eb2b3df94668441bdf4
treee78d55792fddb2b2f8f0a25d3a3ee150387c61d0
parentc683d9fe480850da473f98b55d4db7b9c99ab90d
library: eliminate inappropriate '__BEGIN_DECLS' macro

This patch simply eliminates that glibc specific macro
from all header files which contain no public callable
functions. After all, if user code can't link to them,
then protection from C++ name mangling is unnecessary.

[ we also remove any related '#include <features.h>' ]

Signed-off-by: Jim Warner <james.warner@comcast.net>
include/signals.h
proc/devname.h
proc/escape.h
proc/numa.h
proc/pwcache.h
proc/readproc.h
proc/wchan.h