diff options
author | H. Peter Anvin <hpa@zytor.com> | 2003-12-08 01:44:27 +0000 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2003-12-08 01:44:27 +0000 |
commit | 17ad9c6d7879ef4ff20dbcd96af96a67ca98d400 (patch) | |
tree | 78dd014f2c1e16473332be75f326935a89e920a0 | |
parent | 6798b7a2fb43c03a04ce31c9cc82200cbe25ec68 (diff) | |
download | klibc-17ad9c6d7879ef4ff20dbcd96af96a67ca98d400.tar.gz |
Don't define ntoa() unless we're debuggingklibc-0.91
-rw-r--r-- | ipconfig/packet.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ipconfig/packet.c b/ipconfig/packet.c index aaeafb4f0648c..277d2b9cf9874 100644 --- a/ipconfig/packet.c +++ b/ipconfig/packet.c @@ -99,11 +99,13 @@ static struct header ipudp_hdrs = { }, }; +#ifdef IPC_DEBUG /* Only used by DEBUG(()) */ static char *ntoa(__u32 addr) { struct in_addr in = { addr }; return inet_ntoa(in); } +#endif /* * Send a packet. The options are listed in iov[1...iov_len]. |