Made the webserver logging follow the popular pattern of foo_???() being declared in foo.h and defined in foo.c.
This commit is contained in:
parent
ca2add3641
commit
2662a31d30
6 changed files with 29 additions and 28 deletions
|
@ -29,7 +29,7 @@
|
|||
*
|
||||
* This file is part of the Contiki OS.
|
||||
*
|
||||
* $Id: webserver-nogui.c,v 1.3 2007/04/14 13:40:53 oliverschmidt Exp $
|
||||
* $Id: webserver-nogui.c,v 1.4 2007/04/23 21:19:55 oliverschmidt Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -40,7 +40,7 @@
|
|||
#include "sys/log.h"
|
||||
|
||||
#include "http-strings.h"
|
||||
#include "webserver.h"
|
||||
#include "webserver-nogui.h"
|
||||
#include "httpd.h"
|
||||
|
||||
PROCESS(webserver_nogui_process, "Web server");
|
||||
|
@ -60,7 +60,7 @@ PROCESS_THREAD(webserver_nogui_process, ev, data)
|
|||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
void
|
||||
httpd_log_file(uip_ipaddr_t *requester, char *file)
|
||||
webserver_log_file(uip_ipaddr_t *requester, char *file)
|
||||
{
|
||||
#if LOG_CONF_ENABLED
|
||||
char buf[18];
|
||||
|
@ -73,7 +73,7 @@ httpd_log_file(uip_ipaddr_t *requester, char *file)
|
|||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
void
|
||||
httpd_log(char *msg)
|
||||
webserver_log(char *msg)
|
||||
{
|
||||
log_message(msg, "");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue