diff options
| author | Patrick Steinhardt <ps@pks.im> | 2018-02-16 11:28:53 +0000 |
|---|---|---|
| committer | Patrick Steinhardt <ps@pks.im> | 2018-02-16 11:42:28 +0000 |
| commit | 92324d84921721035458ba8d128dea48436525ec (patch) | |
| tree | f7129297c67e1c7df12b32a149a50750b7b21f55 /src/patch_parse.c | |
| parent | 06b8a40f8b5eb1188a326d90705945b3a9b6a19f (diff) | |
| download | libgit2-92324d84921721035458ba8d128dea48436525ec.tar.gz | |
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".
Diffstat (limited to 'src/patch_parse.c')
0 files changed, 0 insertions, 0 deletions
