diff options
author | arg@10ksloc.org <unknown> | 2006-08-04 10:23:36 +0200 |
---|---|---|
committer | arg@10ksloc.org <unknown> | 2006-08-04 10:23:36 +0200 |
commit | 5077207088b08e6b21601cb19925d20e9d5af573 (patch) | |
tree | 053bd64a2dc6a33526dbb249d18697fedd74a1ab /util.c | |
parent | 7817523a685f0dbba2e074a448099558a54b1b9c (diff) | |
download | dmenu-5077207088b08e6b21601cb19925d20e9d5af573.tar.gz dmenu-5077207088b08e6b21601cb19925d20e9d5af573.tar.bz2 dmenu-5077207088b08e6b21601cb19925d20e9d5af573.zip |
rearranged several stuff
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 18 |
1 files changed, 0 insertions, 18 deletions
@@ -29,16 +29,6 @@ emalloc(unsigned int size) return res; } -void * -emallocz(unsigned int size) -{ - void *res = calloc(1, size); - - if(!res) - bad_malloc(size); - return res; -} - void eprint(const char *errstr, ...) { @@ -58,11 +48,3 @@ estrdup(const char *str) bad_malloc(strlen(str)); return res; } - -void -swap(void **p1, void **p2) -{ - void *tmp = *p1; - *p1 = *p2; - *p2 = tmp; -} |