diff options
| author | Anselm R. Garbe <arg@suckless.org> | 2007-01-16 11:35:56 +0100 |
|---|---|---|
| committer | Anselm R. Garbe <arg@suckless.org> | 2007-01-16 11:35:56 +0100 |
| commit | 9715ba82aa4d256a43b3a166c88f3409b873eb32 (patch) | |
| tree | 1be8655e62ea7d8abcf158f68c26165201c5e320 /util.c | |
| parent | removed unnecessary bx, by, bw variables (diff) | |
| download | dwm-9715ba82aa4d256a43b3a166c88f3409b873eb32.tar.gz dwm-9715ba82aa4d256a43b3a166c88f3409b873eb32.zip | |
removed erealloc (not used)
Diffstat (limited to 'util.c')
| -rw-r--r-- | util.c | 9 |
1 files changed, 0 insertions, 9 deletions
| @@ -29,15 +29,6 @@ eprint(const char *errstr, ...) { | |||
| 29 | exit(EXIT_FAILURE); | 29 | exit(EXIT_FAILURE); |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | void * | ||
| 33 | erealloc(void *ptr, unsigned int size) { | ||
| 34 | void *res = realloc(ptr, size); | ||
| 35 | |||
| 36 | if(!res) | ||
| 37 | eprint("fatal: could not malloc() %u bytes\n", size); | ||
| 38 | return res; | ||
| 39 | } | ||
| 40 | |||
| 41 | void | 32 | void |
| 42 | spawn(Arg *arg) { | 33 | spawn(Arg *arg) { |
| 43 | static char *shell = NULL; | 34 | static char *shell = NULL; |
