commit 722756ca816fa4f91f868f98025101307ef4a8bf
parent 18d4c935d7ba584052a20110cb594ce1407c32ca
Author: glenda <glenda@9front.local>
Date: Sat, 24 Jul 2021 16:19:25 +0000
remove strtodata()
Diffstat:
2 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/richterm.c b/richterm.c
@@ -349,11 +349,6 @@ scroll(Point p, Rich *r)
flushimage(display, 1);
}
-Data strtodata(char *str)
-{
- return (Data){strdup(str), strlen(str)};
-}
-
Faux *
fauxalloc(char *str)
{
diff --git a/richterm.h b/richterm.h
@@ -5,8 +5,6 @@ struct Data {
long n;
};
-Data strtodata(char *);
-
typedef struct Object Object;
struct Object {