diff options
author | Bert <ber.t@gmx.com> | 2011-02-03 14:32:02 +0100 |
---|---|---|
committer | Bert <ber.t@gmx.com> | 2011-02-03 14:32:02 +0100 |
commit | bad9a70a48ff38f0d1e22fdedfcaa2241882a0bf (patch) | |
tree | 863ed44c8a15c634da65ae48d1c35767e3afd09c /util.h | |
parent | 12a94cc40ef0f155a9c99dea915cd3807d760441 (diff) |
Display filesize in window title
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -24,6 +24,7 @@ #define ABS(a) ((a) < 0 ? (-(a)) : (a)) #define MIN(a,b) ((a) < (b) ? (a) : (b)) #define MAX(a,b) ((a) > (b) ? (a) : (b)) +#define LEN(a) (sizeof(a) / sizeof(a[0])) void* s_malloc(size_t); void* s_realloc(void*, size_t); @@ -31,4 +32,6 @@ void* s_realloc(void*, size_t); void warn(const char*, ...); void die(const char*, ...); +void size_readable(float*, const char**); + #endif /* UTIL_H */ |