From 71c2cd61f6e53a455140f5920cff88cdfd4b4d33 Mon Sep 17 00:00:00 2001 From: rodri Date: Sat, 7 Oct 2023 22:33:25 +0000 Subject: make cell2coords thread-safe. --- fns.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fns.h') diff --git a/fns.h b/fns.h index f8473fd..38aa481 100644 --- a/fns.h +++ b/fns.h @@ -12,7 +12,7 @@ Image *eallocimage(Display*, Rectangle, ulong, int, ulong); * util */ int isoob(Point2); -char *cell2coords(Point2); +int cell2coords(char*, ulong, Point2); Point2 coords2cell(char*); int gettile(Map*, Point2); void settile(Map*, Point2, int); -- cgit v1.2.3