summaryrefslogtreecommitdiffstats
path: root/src/util/util-common.h
diff options
context:
space:
mode:
authorWill Miles <wmiles@sgl.com>2015-02-27 20:43:23 +0100
committerAllan McRae <allan@archlinux.org>2015-03-03 07:54:17 +0100
commitbb94729c098f21ae850044a9201c1d5b92baea1f (patch)
tree2f0ffe7f158bf4a8c458ebc78cc3cf35f7f63d4d /src/util/util-common.h
parent8f92fe47a7c4d999271bc28ffbbeeea50d686813 (diff)
downloadpacman-bb94729c098f21ae850044a9201c1d5b92baea1f.tar.gz
pacman-bb94729c098f21ae850044a9201c1d5b92baea1f.tar.xz
util: Use util-common for strndup in pacsort and pactree
This small refactor reduces the number of replications of the local imeplementation of strndup. Signed-off-by: Will Miles <wmiles@sgl.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src/util/util-common.h')
l---------src/util/util-common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/util-common.h b/src/util/util-common.h
new file mode 120000
index 00000000..3f0b9826
--- /dev/null
+++ b/src/util/util-common.h
@@ -0,0 +1 @@
+../common/util-common.h \ No newline at end of file