]> git.proxmox.com Git - libgit2.git/commit - src/strnlen.h
Split p_strlen into its own header
authorCarlos Martín Nieto <cmn@dwim.me>
Wed, 5 Feb 2014 13:31:01 +0000 (14:31 +0100)
committerCarlos Martín Nieto <cmn@dwim.me>
Wed, 5 Feb 2014 13:34:15 +0000 (14:34 +0100)
commit24f3024f36ca44ca8bb32e1a80a048ac4301eaf7
tree23f822b77f6bead622aa41ba201772c034ee164f
parent1e6f0ac4360bae25ef0a9618c9b091192b8e8997
Split p_strlen into its own header

We need this from util.h and posix.h, but the latter includes common.h
which includes util.h, which means p_strlen is not defined by the time
we get to git__strndup().

Split the definition on p_strlen() off into its own header so we can use
it in util.h.
src/posix.h
src/strnlen.h [new file with mode: 0644]
src/util.h