• Show log

    Commit

  • Hash : 92324d84
    Author : Patrick Steinhardt
    Date : 2018-02-16T11:28:53

    util: clean up header includes
    
    While "util.h" declares the macro `git__tolower`, which simply resorts
    to tolower(3P) on Unix-like systems, the <ctype.h> header is only being
    included in "util.c". Thus, anybody who has included "util.h" without
    having <ctype.h> included will fail to compile as soon as the macro is
    in use.
    
    Furthermore, we can clean up additional includes in "util.c" and simply
    replace them with an include for "common.h".