summaryrefslogtreecommitdiff
path: root/Build/source/libs/type1/bstring.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/type1/bstring.c')
-rw-r--r--Build/source/libs/type1/bstring.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/Build/source/libs/type1/bstring.c b/Build/source/libs/type1/bstring.c
new file mode 100644
index 00000000000..b17c5bdb918
--- /dev/null
+++ b/Build/source/libs/type1/bstring.c
@@ -0,0 +1,11 @@
+/*
+ * A simple memset() in case your ANSI C does not provide it
+ */
+
+#if 0 /* not needed for xdvik */
+memset(void *s, int c, int length)
+{ char *p = s;
+
+ while (length--) *(p++) = c;
+}
+#endif