]> granicus.if.org Git - procps-ng/commit
library: please keep procps-private.h free of #include
authorJim Warner <james.warner@comcast.net>
Thu, 9 Jun 2016 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@dropbear.xyz>
Sat, 11 Jun 2016 01:50:37 +0000 (11:50 +1000)
commitadfa2bc75a57f39fa086e188834365fc01321e1c
tree452e0e2bd580f77a8a2809b939cc538be92987cb
parent6a70466ae5e7f2143b31b4e7d8f5b8a79e8c0215
library: please keep procps-private.h free of #include

The 'procps.h' header includes all other headers which
contain exported (public) functions, while this header
has some (private) macros required for implementation.

If we mix the two, by including procps.h in this file,
we'll lose all hope of the compiler catching the kinds
of errors corrected in an immediately preceding patch.

[ we must be diligent, always constantly striving to ]
[ protect jimmy from ill effects due to copy & paste ]

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