Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
libcompat: cleanup, drop dead and little-used code #1231
In another PR I was moving some deprecated KVS functions to libcompat and noted that some libcompat code was no longer used, some had only one user and was simple to eliminate, and some headers included from compat headers were wrong. That is cleaned up here.
In addition, the single compat.h include file is a problem if you only want one piece of libcompat, and other pieces conflict. The specific problem I ran into was compat.h bringing in json-c, but needing to use a libcompat KVS function from code that used jansson. This PR drops compat.h and makes the individual headers able to be included directly
@@ Coverage Diff @@ ## master #1231 +/- ## ========================================== - Coverage 78.21% 78.09% -0.12% ========================================== Files 158 154 -4 Lines 29298 28660 -638 ========================================== - Hits 22915 22382 -533 + Misses 6383 6278 -105