tchanging order - dmenu - Dmenu fork with xft fonts.
 (HTM) git clone git://r-36.net/dmenu
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 95b19f75cce1ba994790ccf7ccdf1815d5d52d75
 (DIR) parent 3d25a327aad95e38ecd1642af58a49fc555a9d01
 (HTM) Author: Anselm R. Garbe <arg@10kloc.org>
       Date:   Thu, 12 Oct 2006 12:59:37 +0200
       
       changing order
       Diffstat:
         util.c                              |      18 +++++++++---------
       
       1 file changed, 9 insertions(+), 9 deletions(-)
       ---
 (DIR) diff --git a/util.c b/util.c
       t@@ -18,15 +18,6 @@ emalloc(unsigned int size) {
                return res;
        }
        
       -char *
       -estrdup(const char *str) {
       -        void *res = strdup(str);
       -
       -        if(!res)
       -                eprint("fatal: could not malloc() %u bytes\n", strlen(str));
       -        return res;
       -}
       -
        void
        eprint(const char *errstr, ...) {
                va_list ap;
       t@@ -36,3 +27,12 @@ eprint(const char *errstr, ...) {
                va_end(ap);
                exit(EXIT_FAILURE);
        }
       +
       +char *
       +estrdup(const char *str) {
       +        void *res = strdup(str);
       +
       +        if(!res)
       +                eprint("fatal: could not malloc() %u bytes\n", strlen(str));
       +        return res;
       +}