summaryrefslogtreecommitdiff
path: root/sbin/route/ccitt_addr.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-06-24 03:15:24 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-06-24 03:15:24 +0000
commitbe3de05a7c78f939275f24624ac6d6895cdf2b63 (patch)
tree8cc3fe4f41b947ca36a4ade69800851ad260e6df /sbin/route/ccitt_addr.c
parentf6eb3918415010b402fae13bef7e03a874476185 (diff)
Fix "route show" on alpha. Some parts from Theo.
Diffstat (limited to 'sbin/route/ccitt_addr.c')
-rw-r--r--sbin/route/ccitt_addr.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sbin/route/ccitt_addr.c b/sbin/route/ccitt_addr.c
index 4d3afa8fe3e..e1c6c534a5e 100644
--- a/sbin/route/ccitt_addr.c
+++ b/sbin/route/ccitt_addr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ccitt_addr.c,v 1.2 1996/06/23 14:32:21 deraadt Exp $ */
+/* $OpenBSD: ccitt_addr.c,v 1.3 1997/06/24 03:15:22 millert Exp $ */
/* $NetBSD: ccitt_addr.c,v 1.8 1995/04/23 10:33:41 cgd Exp $ */
/*
@@ -53,12 +53,15 @@
* Copyright (c) 1984
*/
+#include <stdlib.h>
+#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netccitt/x25.h>
static char *copychar ();
+int
ccitt_addr (addr, xp)
char *addr;
register struct sockaddr_x25 *xp;