aboutsummaryrefslogtreecommitdiff
path: root/fns.h
diff options
context:
space:
mode:
Diffstat (limited to 'fns.h')
-rw-r--r--fns.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/fns.h b/fns.h
new file mode 100644
index 0000000..67a4756
--- /dev/null
+++ b/fns.h
@@ -0,0 +1,8 @@
+#define HZ2MS(hz) (1000/(hz))
+
+/*
+ * alloc
+ */
+void *emalloc(ulong);
+void *erealloc(void*, ulong);
+Image *eallocimage(Display*, Rectangle, ulong, int, ulong);