Mark the functions in algorithm.h as inline