patch.c: extract out patch_add
commit3abb17fb9f1c240e3b295dc905babba6a5f45413
authorSven Verdoolaege <skimo@kotnet.org>
Thu, 13 Aug 2015 07:58:34 +0000 (13 09:58 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Mon, 2 Nov 2015 14:06:04 +0000 (2 15:06 +0100)
treeae98b489b4e7a583892bdeeb446bc9e969edd257
parent43de59d1f060f83895f507358369650c9344ff79
patch.c: extract out patch_add

This function will be reused in the next commit.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
patch.c