aboutsummaryrefslogtreecommitdiff
path: root/net/sntp.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2009-08-08 12:08:09 +0200
committerWolfgang Denk <wd@denx.de>2009-08-08 12:08:09 +0200
commit81813cb01f509adceb52fa3130dd65f30288416c (patch)
treec6d8f8fb5f03d08f5d0fc81cb279ad7cdeab5bf1 /net/sntp.c
parent3b9043a7c03290c9bdbef03848307263f5f3472c (diff)
parentaa0707897c49c330b7d6b8d8362e44f60f224732 (diff)
Merge branch 'master' of git://git.denx.de/u-boot-net
Diffstat (limited to 'net/sntp.c')
-rw-r--r--net/sntp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/sntp.c b/net/sntp.c
index 404587e80e..76c10ecd3b 100644
--- a/net/sntp.c
+++ b/net/sntp.c
@@ -23,7 +23,7 @@ SntpSend (void)
int pktlen = SNTP_PACKET_LEN;
int sport;
- debug ("%s\n", __FUNCTION__);
+ debug("%s\n", __func__);
memset (&pkt, 0, sizeof(pkt));
@@ -54,7 +54,7 @@ SntpHandler (uchar *pkt, unsigned dest, unsigned src, unsigned len)
struct rtc_time tm;
ulong seconds;
- debug ("%s\n", __FUNCTION__);
+ debug("%s\n", __func__);
if (dest != SntpOurPort) return;
@@ -78,7 +78,7 @@ SntpHandler (uchar *pkt, unsigned dest, unsigned src, unsigned len)
void
SntpStart (void)
{
- debug ("%s\n", __FUNCTION__);
+ debug("%s\n", __func__);
NetSetTimeout (SNTP_TIMEOUT, SntpTimeout);
NetSetHandler(SntpHandler);