summaryrefslogtreecommitdiff
path: root/include/libbb.h
diff options
context:
space:
mode:
authorDenys Vlasenko2013-07-30 11:41:58 +0200
committerDenys Vlasenko2013-07-30 11:41:58 +0200
commitbfa6ed1bf43ea607e33a6e89a0ef03f84a5b5d38 (patch)
tree7d83bd734ff714fd4c940685d82aa3015ccc4135 /include/libbb.h
parent79c618c41193eaaa092cb977f06fc112155ba92b (diff)
downloadbusybox-bfa6ed1bf43ea607e33a6e89a0ef03f84a5b5d38.zip
busybox-bfa6ed1bf43ea607e33a6e89a0ef03f84a5b5d38.tar.gz
catv: code shrink
catv_main 250 227 -23 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include/libbb.h')
-rw-r--r--include/libbb.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 0c3734c..1712145 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -680,7 +680,10 @@ enum { PRINTABLE_META = 0x100 };
void fputc_printable(int ch, FILE *file) FAST_FUNC;
/* Return a string that is the printable representation of character ch.
* Buffer must hold at least four characters. */
-enum { VISIBLE_SHOW_TABS = 1, VISIBLE_ENDLINE = 2 };
+enum {
+ VISIBLE_ENDLINE = 1 << 0,
+ VISIBLE_SHOW_TABS = 1 << 1,
+};
void visible(unsigned ch, char *buf, int flags) FAST_FUNC;
/* dmalloc will redefine these to it's own implementation. It is safe