aboutsummaryrefslogtreecommitdiff
path: root/lib/lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/lib.h')
-rw-r--r--lib/lib.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/lib.h b/lib/lib.h
index 41f38d1b..5bfba22a 100644
--- a/lib/lib.h
+++ b/lib/lib.h
@@ -176,13 +176,13 @@ void delete_tempfile(int fdin, int fdout, char **tempname);
void replace_tempfile(int fdin, int fdout, char **tempname);
void crc_init(unsigned int *crc_table, int little_endian);
void base64_init(char *p);
-int yesno(char *prompt, int def);
+int yesno(int def);
int qstrcmp(const void *a, const void *b);
int xpoll(struct pollfd *fds, int nfds, int timeout);
-#define HR_SPACE 1
-#define HR_B 2
-#define HR_SI 4
+#define HR_SPACE 1 // Space between number and units
+#define HR_B 2 // Use "B" for single byte units
+#define HR_1000 4 // Use decimal instead of binary units
int human_readable(char *buf, unsigned long long num, int style);
// interestingtimes.c