]> git.proxmox.com Git - libgit2.git/commit
utils: don't reimplement strnlen
authorCarlos Martín Nieto <cmn@dwim.me>
Wed, 5 Feb 2014 12:49:51 +0000 (13:49 +0100)
committerCarlos Martín Nieto <cmn@dwim.me>
Wed, 5 Feb 2014 13:31:13 +0000 (14:31 +0100)
commit1e6f0ac4360bae25ef0a9618c9b091192b8e8997
tree07b735340bc480d9982a8f6f16a7c296ab0d4a8a
parenta6563619e98437a99ff49eef590f62dbb1584358
utils: don't reimplement strnlen

The standard library provides a very nice strnlen function, which knows
to use SSE, let's not reimplement it ourselves.
src/util.h