Re:LibBF – a small library to handle arbitrary precision flo...
by wnoise on Tuesday March 06, 2018 @05:48PM
(#16532795)
Having malloc.h as an include is bizarre, anyway. The standard location for malloc and related functions is stdlib.h, and removing that include should let it still compile on any reasonable platform.
1. Comment out the malloc.h include in tinypi.c.
2. Add -Wno-unused-function to CFLAGS.
3. Use shasum, rather than sha1sum, in the test target.