* follows is a new line that will be appended after another LF (normally it's
* used to give extra info to the user about the issue's location).
*/
-void complain(uint details, const char *msg)
+static void _complain(uint details, const char *msg)
{
struct iovec iovec[10];
const char *pfx;
mark_tainted(TAINTED_WARN);
}
+/* the exported function */
+void complain(uint details, const char *msg)
+{
+ _complain(details, msg);
+}
+
/* parse a "debug dev exit" command. It always returns 1, though it should never return. */
static int debug_parse_cli_exit(char **args, char *payload, struct appctx *appctx, void *private)
{