]> granicus.if.org Git - procps-ng/commit
library: removed that 'SIGNAL_STRING' conditional code
authorJim Warner <james.warner@comcast.net>
Fri, 27 Sep 2019 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@dropbear.xyz>
Sun, 27 Oct 2019 11:27:49 +0000 (22:27 +1100)
commit97f7c7a5499a5264561a200e8b9ffb68034c23c0
tree9a25a56afb3a203e0e0bb59b2f023976374b4609
parent11df806a7c56626ee92eeb433ba9deaa51faa9c4
library: removed that 'SIGNAL_STRING' conditional code

No libprocps user expects signal values to be returned
as 'long long' quantities. More importantly the <PIDS>
api only returns a 'str' result for signal categories.

So this patch eliminates all the conditional code that
depends on the absence of the #define 'SIGNAL_STRING'.

Signed-off-by: Jim Warner <james.warner@comcast.net>
proc/readproc.c
proc/readproc.h