Use off_t in humansize() as it is more descriptive and applicable

This commit is contained in:
sin
2015-04-28 11:48:05 +01:00
parent 42326f7684
commit 2deb40290e
2 changed files with 3 additions and 4 deletions

3
util.h
View File

@@ -3,7 +3,6 @@
#include <regex.h>
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include "arg.h"
@@ -67,7 +66,7 @@ int eregcomp(regex_t *, const char *, int);
void enmasse(int, char **, int (*)(const char *, const char *, int));
void fnck(const char *, const char *, int (*)(const char *, const char *, int), int);
mode_t getumask(void);
char *humansize(uintmax_t);
char *humansize(off_t);
mode_t parsemode(const char *, mode_t, mode_t);
void putword(FILE *, const char *);
#undef strtonum