aboutsummaryrefslogtreecommitdiff
path: root/vendor/librune/lib/builder/u8strpushstr.c
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/librune/lib/builder/u8strpushstr.c')
-rw-r--r--vendor/librune/lib/builder/u8strpushstr.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/vendor/librune/lib/builder/u8strpushstr.c b/vendor/librune/lib/builder/u8strpushstr.c
deleted file mode 100644
index a036840..0000000
--- a/vendor/librune/lib/builder/u8strpushstr.c
+++ /dev/null
@@ -1,17 +0,0 @@
-#include <string.h>
-
-#include "builder.h"
-#include "utf8.h"
-
-#include "internal/common.h"
-
-struct u8str *
-u8strpushstr(struct u8str *b, const char *s)
-{
- size_t n = strlen(s);
- if (!u8strgrow(b, b->len + n))
- return nullptr;
- memcpy(b->p + b->len, s, n);
- b->len += n;
- return b;
-}