chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
util: introduce FORMAT_BYTES_MAX
[elogind.git]
/
src
/
util.h
diff --git
a/src/util.h
b/src/util.h
index e6ffad6c2e89554b732ce83d3a870cef3740e78a..5413490c13415beff7865a7425286d8bca8b44f2 100644
(file)
--- a/
src/util.h
+++ b/
src/util.h
@@
-67,6
+67,7
@@
typedef struct dual_timestamp {
#define FORMAT_TIMESTAMP_MAX 64
#define FORMAT_TIMESTAMP_PRETTY_MAX 256
#define FORMAT_TIMESPAN_MAX 64
+#define FORMAT_BYTES_MAX 8
#define ANSI_HIGHLIGHT_ON "\x1B[1;39m"
#define ANSI_HIGHLIGHT_RED_ON "\x1B[1;32m"