aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-06-05 12:19:49 +0000
committerRoy Marples <roy@marples.name>2008-06-05 12:19:49 +0000
commitfc747f9894d6568c57a824ecb79e1a6379ee6163 (patch)
tree1881657c289a747f41b4f9a3687cc56aedb81c39
parent76063daee519b59045bc5bded6ff87060b2cd1f3 (diff)
Remove the macro ;)
-rw-r--r--src/libeinfo/libeinfo.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/libeinfo/libeinfo.c b/src/libeinfo/libeinfo.c
index 39920c7c..bef98a5d 100644
--- a/src/libeinfo/libeinfo.c
+++ b/src/libeinfo/libeinfo.c
@@ -575,26 +575,6 @@ ecolor(ECOLOR color)
setenv("EINFO_LASTCMD", _cmd, 1); \
}
-#define EINFOVN(_file, _color) \
-{ \
- char *_e = getenv("EINFO_LASTCMD"); \
- if (_e && !colour_terminal(_file) && strcmp(_e, "ewarn") != 0 && \
- _e[strlen (_e) - 1] == 'n') \
- fprintf(_file, "\n"); \
- if (_eprefix) \
- fprintf(_file, "%s%s%s|", _ecolor(_file, _color), _eprefix, _ecolor(_file, ECOLOR_NORMAL)); \
- fprintf(_file, " %s*%s ", _ecolor(_file, _color), _ecolor(_file, ECOLOR_NORMAL)); \
- retval += _eindent(_file); \
- { \
- va_list _ap; \
- va_copy(_ap, ap); \
- retval += vfprintf(_file, fmt, _ap) + 3; \
- va_end(_ap); \
- } \
- if (colour_terminal(_file)) \
- fprintf(_file, "%s", flush); \
-}
-
static int
_einfo(FILE *f, ECOLOR color, const char *__EINFO_RESTRICT fmt, va_list va)