This patch changes the top-level directory layout as a preparatory step for improving the tools for managing 3rd-party source codes. The rationale is described in the issue referenced below. Issue #1082
37 lines
682 B
C++
37 lines
682 B
C++
/*
|
|
* \brief Print function for debugging functionality of lwIP.
|
|
* \author Stefan Kalkowski
|
|
* \date 2009-10-26
|
|
*/
|
|
|
|
/*
|
|
* Copyright (C) 2009-2013 Genode Labs GmbH
|
|
*
|
|
* This file is part of the Genode OS framework, which is distributed
|
|
* under the terms of the GNU General Public License version 2.
|
|
*/
|
|
|
|
/* Genode includes */
|
|
#include <base/printf.h>
|
|
#include <base/console.h>
|
|
#include <base/lock.h>
|
|
#include <base/env.h>
|
|
|
|
extern "C" {
|
|
|
|
/* LwIP includes */
|
|
#include <arch/cc.h>
|
|
|
|
/* Simply map to Genode's printf implementation */
|
|
void lwip_printf(const char *format, ...)
|
|
{
|
|
va_list list;
|
|
va_start(list, format);
|
|
|
|
Genode::vprintf(format, list);
|
|
|
|
va_end(list);
|
|
}
|
|
|
|
}
|