summaryrefslogtreecommitdiff
path: root/stralloc_copy.c
diff options
context:
space:
mode:
authorDmitry Bogatov <KAction@debian.org>2018-11-29 05:18:27 +0000
committerDmitry Bogatov <KAction@debian.org>2018-11-29 05:18:27 +0000
commit78fbb41eaf3abb208abe6acfb06db005adeadf35 (patch)
treef09dac61e9f2fe6d865d76d57dac12674eec1279 /stralloc_copy.c
Import Upstream version 0.80
Diffstat (limited to 'stralloc_copy.c')
-rw-r--r--stralloc_copy.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/stralloc_copy.c b/stralloc_copy.c
new file mode 100644
index 0000000..652aed6
--- /dev/null
+++ b/stralloc_copy.c
@@ -0,0 +1,9 @@
+#include "byte.h"
+#include "stralloc.h"
+
+int stralloc_copy(sato,safrom)
+stralloc *sato;
+stralloc *safrom;
+{
+ return stralloc_copyb(sato,safrom->s,safrom->len);
+}