]> granicus.if.org Git - graphviz/commit
remove 'sprint' helpers
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 13 Apr 2022 03:48:18 +0000 (20:48 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 14 Apr 2022 01:02:13 +0000 (18:02 -0700)
commitb517af6738b5900b10dd5397a918760d6c14f76f
tree93ede171a71de82a63e731e946be30344ea0f631
parent33d98624fa019ab5c1f8afa056195e85367ceae7
remove 'sprint' helpers

Since these were added a year ago in 08786bbb19bbe0fdf28adcbb305b02f54a237edf,
they have only been used once in 6437e1535c7da1cb97fd215131c4bd92c60021fe in
code that was subsequently deleted in c2d3526427a7259aa656ab72c83b43232ebfd806.
At this point, it seems safe to call “time” on these and judge them as not
useful in practice.

To further reinforce this, it is worth observing that they were not usable in
the CMake build system. 5b620771b7e5f07529ff7a41177ae27048c91865, despite
correcting an absence of sprint.h, failed to also correct the absence of
sprint.c. Any attempt to use these functions resulted in link failures in the
CMake build.

This commit effectively reverts 5b620771b7e5f07529ff7a41177ae27048c91865 and
08786bbb19bbe0fdf28adcbb305b02f54a237edf.
ci/clang_format.py
lib/cgraph/CMakeLists.txt
lib/cgraph/Makefile.am
lib/cgraph/cgraph.vcxproj
lib/cgraph/cgraph.vcxproj.filters
lib/cgraph/sprint.c [deleted file]
lib/cgraph/sprint.h [deleted file]
lib/cgraph/test_sprint.c [deleted file]
rtest/test_c_utils.py