X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fverbose.c;h=36d2348b46d9b2f3122dca9683e02cb37366032d;hb=c0fc18e47e49dd4e3cc2f09452a19297dad63f9c;hp=fa7ea3f61201fdd8c4f0e08566e272bd736fca1f;hpb=12a227a2fc574cf0fd560453e1cdd15c50550abb;p=src%2Fapp-framework-main.git diff --git a/src/verbose.c b/src/verbose.c index fa7ea3f..36d2348 100644 --- a/src/verbose.c +++ b/src/verbose.c @@ -1,6 +1,8 @@ /* Copyright 2015 IoT.bzh + author: José Bollo + Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at @@ -14,7 +16,14 @@ limitations under the License. */ -#include +#include "verbose.h" +#if !defined(NDEBUG) int verbosity = 1; +#else +void verbose_error(const char *file, int line) +{ + ERROR("error file %s line %d", file, line); +} +#endif