aboutsummaryrefslogtreecommitdiff
path: root/alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'alloc.c')
-rw-r--r--alloc.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/alloc.c b/alloc.c
index 037d726..2589e89 100644
--- a/alloc.c
+++ b/alloc.c
@@ -32,13 +32,13 @@ erealloc(void *p, ulong n)
return np;
}
-//Image*
-//eallocimage(Display *d, Rectangle r, ulong chan, int repl, ulong col)
-//{
-// Image *i;
-//
-// i = allocimage(d, r, chan, repl, col);
-// if(i == nil)
-// sysfatal("allocimage: %r");
-// return i;
-//}
+Image*
+eallocimage(Display *d, Rectangle r, ulong chan, int repl, ulong col)
+{
+ Image *i;
+
+ i = allocimage(d, r, chan, repl, col);
+ if(i == nil)
+ sysfatal("allocimage: %r");
+ return i;
+}