dwm-meillo
diff util.c @ 317:45af6a8a0cbf
small renamings of two static functions
author | Anselm R.Garbe <arg@10ksloc.org> |
---|---|
date | Mon, 21 Aug 2006 07:33:18 +0200 |
parents | dacd3f3c5823 |
children | 58c09c533d3f |
line diff
1.1 --- a/util.c Mon Aug 21 07:31:15 2006 +0200 1.2 +++ b/util.c Mon Aug 21 07:33:18 2006 +0200 1.3 @@ -12,7 +12,7 @@ 1.4 /* static */ 1.5 1.6 static void 1.7 -bad_malloc(unsigned int size) 1.8 +badmalloc(unsigned int size) 1.9 { 1.10 eprint("fatal: could not malloc() %u bytes\n", size); 1.11 } 1.12 @@ -25,7 +25,7 @@ 1.13 void *res = calloc(1, size); 1.14 1.15 if(!res) 1.16 - bad_malloc(size); 1.17 + badmalloc(size); 1.18 return res; 1.19 } 1.20 1.21 @@ -45,7 +45,7 @@ 1.22 { 1.23 void *res = realloc(ptr, size); 1.24 if(!res) 1.25 - bad_malloc(size); 1.26 + badmalloc(size); 1.27 return res; 1.28 } 1.29