added log_message() implementation
This commit is contained in:
parent
1fbcfde0d6
commit
720357bc60
|
@ -26,7 +26,7 @@
|
||||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* @(#)$Id: contiki-sky-main.c,v 1.40 2008/11/09 12:22:04 adamdunkels Exp $
|
* @(#)$Id: contiki-sky-main.c,v 1.41 2008/11/21 10:35:46 fros4943 Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
|
@ -357,3 +357,10 @@ main(int argc, char **argv)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
|
#if LOG_CONF_ENABLED
|
||||||
|
void
|
||||||
|
log_message(char *m1, char *m2)
|
||||||
|
{
|
||||||
|
printf("%s%s\n", m1, m2);
|
||||||
|
}
|
||||||
|
#endif /* LOG_CONF_ENABLED */
|
||||||
|
|
Loading…
Reference in a new issue