[hackers] [sbase] Group related decls together in util.h || sin

From: <git_AT_suckless.org>
Date: Fri, 14 Nov 2014 19:13:30 +0100

commit 045fc62028a6636d044cab371fb0e9553cf7b1e8
Author: sin <sin_AT_2f30.org>
Date: Fri Nov 14 18:13:14 2014 +0000

    Group related decls together in util.h

diff --git a/util.h b/util.h
index 0385313..e438357 100644
--- a/util.h
+++ b/util.h
_AT_@ -16,25 +16,29 @@ extern char *argv0;
 
 char *agetcwd(void);
 void apathmax(char **, long *);
-void enmasse(int, char **, int (*)(const char *, const char *));
+
 void *ecalloc(size_t, size_t);
 void *emalloc(size_t size);
 void *erealloc(void *, size_t);
-void eprintf(const char *, ...);
-void enprintf(int, const char *, ...);
 char *estrdup(const char *);
+
+void enprintf(int, const char *, ...);
+void eprintf(const char *, ...);
+void weprintf(const char *, ...);
+
 double estrtod(const char *);
 long estrtol(const char *, int);
-void fnck(const char *, const char *, int (*)(const char *, const char *));
-char *humansize(double);
-void putword(const char *);
-void recurse(const char *, void (*)(const char *));
 
 #undef strlcat
 size_t strlcat(char *, const char *, size_t);
 #undef strlcpy
 size_t strlcpy(char *, const char *, size_t);
-void weprintf(const char *, ...);
 
+/* misc */
+void enmasse(int, char **, int (*)(const char *, const char *));
+void fnck(const char *, const char *, int (*)(const char *, const char *));
 mode_t getumask(void);
+char *humansize(double);
 mode_t parsemode(const char *, mode_t, mode_t);
+void putword(const char *);
+void recurse(const char *, void (*)(const char *));
Received on Fri Nov 14 2014 - 19:13:30 CET

This archive was generated by hypermail 2.3.0 : Fri Nov 14 2014 - 19:24:15 CET