summaryrefslogtreecommitdiff
path: root/lib/inet_ntoa.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/inet_ntoa.c')
-rw-r--r--lib/inet_ntoa.c36
1 files changed, 0 insertions, 36 deletions
diff --git a/lib/inet_ntoa.c b/lib/inet_ntoa.c
deleted file mode 100644
index df91da9..0000000
--- a/lib/inet_ntoa.c
+++ /dev/null
@@ -1,36 +0,0 @@
-/* This file is part of the Project Athena Zephyr Notification System.
- * It contains a version of the standard inet_ntoa function, for use
- * on a Sun 4 with gcc version 1.
- *
- * Created by: Ken Raeburn
- *
- * $Source$
- * $Author$
- *
- * Copyright (c) 1991 by the Massachusetts Institute of Technology.
- * For copying and distribution information, see the file
- * "mit-copyright.h".
- */
-
-#include <zephyr/mit-copyright.h>
-
-#ifndef lint
-static char rcsid_inet_ntoa_c[] = "$Zephyr$";
-#endif
-
-#if defined (sparc) && __GNUC__ == 1
-/* GCC version 1 passes structures incorrectly on the Sparc.
- This addition will cause things to work correctly if everything
- using inet_ntoa is compiled with gcc. If not, you lose anyways. */
-char *inet_ntoa (addr)
- struct in_addr addr;
-{
- static char buf[16];
- sprintf (buf, "%d.%d.%d.%d",
- addr.S_un.S_un_b.s_b1,
- addr.S_un.S_un_b.s_b2,
- addr.S_un.S_un_b.s_b3,
- addr.S_un.S_un_b.s_b4);
- return buf;
-}
-#endif