projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libbb: reduce the overhead of single parameter bb_error_msg() calls
[oweals/busybox.git]
/
libbb
/
herror_msg.c
diff --git
a/libbb/herror_msg.c
b/libbb/herror_msg.c
index d041076e00001385bb04cc06a1a1693812faf9b7..a7dd986790a4972172ae5403e7709b2bf874dc84 100644
(file)
--- a/
libbb/herror_msg.c
+++ b/
libbb/herror_msg.c
@@
-26,3
+26,13
@@
void FAST_FUNC bb_herror_msg_and_die(const char *s, ...)
va_end(p);
xfunc_die();
}
+
+void FAST_FUNC bb_simple_herror_msg(const char *s)
+{
+ bb_herror_msg("%s", s);
+}
+
+void FAST_FUNC bb_simple_herror_msg_and_die(const char *s)
+{
+ bb_herror_msg_and_die("%s", s);
+}