summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorCharles Longeau <chl@cvs.openbsd.org>2009-05-09 11:05:02 +0000
committerCharles Longeau <chl@cvs.openbsd.org>2009-05-09 11:05:02 +0000
commitfa19aa01f5534164383197ff6a1ce5c56d6927ec (patch)
tree75f4d21a89f17da2a587ca9d4f1a1e7b055bc20d /usr.bin
parent9afbd6e9d497f0111369003685c9f0658fa9e6cf (diff)
remove unused function
from tobias@ "just delete them" tedu@, ok millert@ tobias@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/talk/ctl.c17
-rw-r--r--usr.bin/talk/talk.h3
2 files changed, 3 insertions, 17 deletions
diff --git a/usr.bin/talk/ctl.c b/usr.bin/talk/ctl.c
index 558730679ae..ea1d5ee8548 100644
--- a/usr.bin/talk/ctl.c
+++ b/usr.bin/talk/ctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ctl.c,v 1.9 2004/03/02 21:04:42 tedu Exp $ */
+/* $OpenBSD: ctl.c,v 1.10 2009/05/09 11:05:00 chl Exp $ */
/* $NetBSD: ctl.c,v 1.3 1994/12/09 02:14:10 jtc Exp $ */
/*
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)ctl.c 8.1 (Berkeley) 6/6/93";
#endif
-static const char rcsid[] = "$OpenBSD: ctl.c,v 1.9 2004/03/02 21:04:42 tedu Exp $";
+static const char rcsid[] = "$OpenBSD: ctl.c,v 1.10 2009/05/09 11:05:00 chl Exp $";
#endif /* not lint */
/*
@@ -99,16 +99,3 @@ open_ctl(void)
(struct sockaddr *)&ctl_addr, &length) == -1)
quit("Bad address for ctl socket", 1);
}
-
-/* print_addr is a debug print routine */
-void
-print_addr(struct sockaddr_in addr)
-{
- int i;
-
- printf("addr = %s, port = %o, family = %o zero = ",
- inet_ntoa(addr.sin_addr), addr.sin_port, addr.sin_family);
- for (i = 0; i < 8; i++)
- printf("%o ", (int)addr.sin_zero[i]);
- putchar('\n');
-}
diff --git a/usr.bin/talk/talk.h b/usr.bin/talk/talk.h
index 7f8100a344f..468f1816a9a 100644
--- a/usr.bin/talk/talk.h
+++ b/usr.bin/talk/talk.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: talk.h,v 1.10 2003/06/03 02:56:17 millert Exp $ */
+/* $OpenBSD: talk.h,v 1.11 2009/05/09 11:05:01 chl Exp $ */
/* $NetBSD: talk.h,v 1.3 1994/12/09 02:14:27 jtc Exp $ */
/*
@@ -82,7 +82,6 @@ int max(int, int);
void message(char *);
void open_ctl(void);
void open_sockt(void);
-void print_addr(struct sockaddr_in);
void quit(char *, int);
int readwin(WINDOW *, int, int);
void re_invite(int);