summaryrefslogtreecommitdiffstats
path: root/contrib/amd/wire-test
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1999-09-15 02:50:52 +0000
committerobrien <obrien@FreeBSD.org>1999-09-15 02:50:52 +0000
commit422815db966fe7dc38dfc5df2be5e83d5ea9f48c (patch)
treebabaa2d3f02bbec865446438f974c81f18ae2607 /contrib/amd/wire-test
parentc9384f1d982e4695904ef82271714a049cd32827 (diff)
downloadFreeBSD-src-422815db966fe7dc38dfc5df2be5e83d5ea9f48c.zip
FreeBSD-src-422815db966fe7dc38dfc5df2be5e83d5ea9f48c.tar.gz
Virgin import of AMD (am-utils) v6.0.1
Diffstat (limited to 'contrib/amd/wire-test')
-rw-r--r--contrib/amd/wire-test/wire-test.84
-rw-r--r--contrib/amd/wire-test/wire-test.c17
2 files changed, 4 insertions, 17 deletions
diff --git a/contrib/amd/wire-test/wire-test.8 b/contrib/amd/wire-test/wire-test.8
index 0ea06f5..a7ee523 100644
--- a/contrib/amd/wire-test/wire-test.8
+++ b/contrib/amd/wire-test/wire-test.8
@@ -1,5 +1,5 @@
.\"
-.\" Copyright (c) 1997-1998 Erez Zadok
+.\" Copyright (c) 1997-1999 Erez Zadok
.\" Copyright (c) 1990 Jan-Simon Pendry
.\" Copyright (c) 1990 Imperial College of Science, Technology & Medicine
.\" Copyright (c) 1990 The Regents of the University of California.
@@ -38,7 +38,7 @@
.\"
.\" %W% (Berkeley) %G%
.\"
-.\" $Id: wire-test.8,v 1.1.1.1 1998/11/05 02:04:56 ezk Exp $
+.\" $Id: wire-test.8,v 1.2 1999/01/10 21:54:44 ezk Exp $
.\"
.TH WIRE-TEST 8L "26 Feb 1993"
.SH NAME
diff --git a/contrib/amd/wire-test/wire-test.c b/contrib/amd/wire-test/wire-test.c
index dd6d750..c659496 100644
--- a/contrib/amd/wire-test/wire-test.c
+++ b/contrib/amd/wire-test/wire-test.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997-1998 Erez Zadok
+ * Copyright (c) 1997-1999 Erez Zadok
* Copyright (c) 1990 Jan-Simon Pendry
* Copyright (c) 1990 Imperial College of Science, Technology & Medicine
* Copyright (c) 1990 The Regents of the University of California.
@@ -38,7 +38,7 @@
*
* %W% (Berkeley) %G%
*
- * $Id: wire-test.c,v 1.2 1998/12/27 06:25:28 ezk Exp $
+ * $Id: wire-test.c,v 1.4 1999/02/04 07:24:54 ezk Exp $
*
*/
@@ -49,15 +49,6 @@
#define STRMAX 100
-/* dummy variables */
-#if 0
-char *progname;
-pid_t mypid;
-serv_state amd_state;
-int foreground, orig_umask;
-int debug_flags;
-#endif
-
char hostname[MAXHOSTNAMELEN + 1];
@@ -72,10 +63,6 @@ main(int argc, char **argv)
struct hostent *hp = 0;
am_set_progname(argv[0]);
-#if 0
- mypid = getpid();
- orig_umask = umask(0);
-#endif
if (gethostname(hostname, sizeof(hostname)) < 0) {
perror(argv[0]);
OpenPOWER on IntegriCloud