summaryrefslogtreecommitdiffstats
path: root/util.c
diff options
context:
space:
mode:
authorAnselm R.Garbe <arg@10ksloc.org>2006-08-21 07:33:18 +0200
committerAnselm R.Garbe <arg@10ksloc.org>2006-08-21 07:33:18 +0200
commit08d85d6d66bc4493414d76e470e473fa689c5990 (patch)
treeb2acefe4464fc9ec7883c3a1db3af6b264db171d /util.c
parentsmall changes to dwm.1, rearranged order within main event loop (diff)
downloaddwm-08d85d6d66bc4493414d76e470e473fa689c5990.tar.gz
dwm-08d85d6d66bc4493414d76e470e473fa689c5990.zip
small renamings of two static functions
Diffstat (limited to '')
-rw-r--r--util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/util.c b/util.c
index 2414b39..99d7beb 100644
--- a/util.c
+++ b/util.c
@@ -12,7 +12,7 @@
12/* static */ 12/* static */
13 13
14static void 14static void
15bad_malloc(unsigned int size) 15badmalloc(unsigned int size)
16{ 16{
17 eprint("fatal: could not malloc() %u bytes\n", size); 17 eprint("fatal: could not malloc() %u bytes\n", size);
18} 18}
@@ -25,7 +25,7 @@ emallocz(unsigned int size)
25 void *res = calloc(1, size); 25 void *res = calloc(1, size);
26 26
27 if(!res) 27 if(!res)
28 bad_malloc(size); 28 badmalloc(size);
29 return res; 29 return res;
30} 30}
31 31
@@ -45,7 +45,7 @@ erealloc(void *ptr, unsigned int size)
45{ 45{
46 void *res = realloc(ptr, size); 46 void *res = realloc(ptr, size);
47 if(!res) 47 if(!res)
48 bad_malloc(size); 48 badmalloc(size);
49 return res; 49 return res;
50} 50}
51 51