1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-04 23:35:36 -08:00

add missing includes

ok deraadt@ tedu@
This commit is contained in:
david 2003-07-10 00:03:01 +00:00
parent b1b7cd8f9b
commit 70ef01f6b6
64 changed files with 195 additions and 122 deletions

View File

@ -1,4 +1,4 @@
/* $OpenBSD: done.c,v 1.5 2003/06/03 03:01:37 millert Exp $ */
/* $OpenBSD: done.c,v 1.6 2003/07/10 00:03:01 david Exp $ */
/* $NetBSD: done.c,v 1.2 1995/03/21 12:05:01 cgd Exp $ */
/*-
@ -39,13 +39,14 @@
#if 0
static char sccsid[] = "@(#)done.c 8.1 (Berkeley) 5/31/93";
#else
static char rcsid[] = "$OpenBSD: done.c,v 1.5 2003/06/03 03:01:37 millert Exp $";
static char rcsid[] = "$OpenBSD: done.c,v 1.6 2003/07/10 00:03:01 david Exp $";
#endif
#endif /* not lint */
/* Re-coding of advent in C: termination routines */
#include <stdio.h>
#include <stdlib.h>
#include "hdr.h"
#include "extern.h"

View File

@ -1,4 +1,4 @@
/* $OpenBSD: main.c,v 1.16 2003/06/03 03:01:37 millert Exp $ */
/* $OpenBSD: main.c,v 1.17 2003/07/10 00:03:01 david Exp $ */
/* $NetBSD: main.c,v 1.5 1996/05/21 21:53:09 mrg Exp $ */
/*-
@ -45,7 +45,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 6/2/93";
#else
static char rcsid[] = "$OpenBSD: main.c,v 1.16 2003/06/03 03:01:37 millert Exp $";
static char rcsid[] = "$OpenBSD: main.c,v 1.17 2003/07/10 00:03:01 david Exp $";
#endif
#endif /* not lint */
@ -55,6 +55,7 @@ static char rcsid[] = "$OpenBSD: main.c,v 1.16 2003/06/03 03:01:37 millert Exp $
#include <err.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include "hdr.h"
#include "extern.h"

View File

@ -1,4 +1,4 @@
/* $OpenBSD: subr.c,v 1.7 2003/06/03 03:01:37 millert Exp $ */
/* $OpenBSD: subr.c,v 1.8 2003/07/10 00:03:01 david Exp $ */
/* $NetBSD: subr.c,v 1.2 1995/03/21 12:05:11 cgd Exp $ */
/*-
@ -39,13 +39,14 @@
#if 0
static char sccsid[] = "@(#)subr.c 8.1 (Berkeley) 5/31/93";
#else
static char rcsid[] = "$OpenBSD: subr.c,v 1.7 2003/06/03 03:01:37 millert Exp $";
static char rcsid[] = "$OpenBSD: subr.c,v 1.8 2003/07/10 00:03:01 david Exp $";
#endif
#endif /* not lint */
/* Re-coding of advent in C: subroutines from main */
#include <stdio.h>
#include <stdlib.h>
#include "hdr.h"
#include "extern.h"

View File

@ -1,4 +1,4 @@
/* $OpenBSD: bcd.c,v 1.9 2003/06/03 03:01:39 millert Exp $ */
/* $OpenBSD: bcd.c,v 1.10 2003/07/10 00:03:01 david Exp $ */
/* $NetBSD: bcd.c,v 1.6 1995/04/24 12:22:23 cgd Exp $ */
/*
@ -43,7 +43,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)bcd.c 8.2 (Berkeley) 3/20/94";
#else
static char rcsid[] = "$OpenBSD: bcd.c,v 1.9 2003/06/03 03:01:39 millert Exp $";
static char rcsid[] = "$OpenBSD: bcd.c,v 1.10 2003/07/10 00:03:01 david Exp $";
#endif
#endif /* not lint */
@ -79,6 +79,7 @@ static char rcsid[] = "$OpenBSD: bcd.c,v 1.9 2003/06/03 03:01:39 millert Exp $";
#include <sys/types.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <unistd.h>

View File

@ -1,4 +1,4 @@
/* $OpenBSD: mkindex.c,v 1.5 2003/06/03 03:01:39 millert Exp $ */
/* $OpenBSD: mkindex.c,v 1.6 2003/07/10 00:03:01 david Exp $ */
/* $NetBSD: mkindex.c,v 1.2 1995/03/21 12:14:52 cgd Exp $ */
/*-
@ -43,11 +43,12 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)mkindex.c 8.1 (Berkeley) 6/11/93";
#else
static char rcsid[] = "$OpenBSD: mkindex.c,v 1.5 2003/06/03 03:01:39 millert Exp $";
static char rcsid[] = "$OpenBSD: mkindex.c,v 1.6 2003/07/10 00:03:01 david Exp $";
#endif
#endif /* not lint */
#include <stdio.h>
#include <stdlib.h>
#include "bog.h"

View File

@ -1,4 +1,4 @@
/* $OpenBSD: cfscores.c,v 1.10 2003/06/03 03:01:39 millert Exp $ */
/* $OpenBSD: cfscores.c,v 1.11 2003/07/10 00:03:01 david Exp $ */
/* $NetBSD: cfscores.c,v 1.3 1995/03/21 15:08:37 cgd Exp $ */
/*
@ -40,7 +40,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)cfscores.c 8.1 (Berkeley) 5/31/93";
#else
static char rcsid[] = "$OpenBSD: cfscores.c,v 1.10 2003/06/03 03:01:39 millert Exp $";
static char rcsid[] = "$OpenBSD: cfscores.c,v 1.11 2003/07/10 00:03:01 david Exp $";
#endif
#endif /* not lint */
@ -49,6 +49,7 @@ static char rcsid[] = "$OpenBSD: cfscores.c,v 1.10 2003/06/03 03:01:39 millert E
#include <fcntl.h>
#include <pwd.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "pathnames.h"

View File

@ -1,4 +1,4 @@
/* $OpenBSD: stoc.c,v 1.6 2003/06/03 03:01:39 millert Exp $ */
/* $OpenBSD: stoc.c,v 1.7 2003/07/10 00:03:01 david Exp $ */
/*
* Copyright (c) 1994
* The Regents of the University of California. All rights reserved.
@ -35,12 +35,13 @@
#if 0
static char sccsid[] = "@(#)stoc.c 8.1 (Berkeley) 7/24/94";
#else
static char rcsid[] = "$OpenBSD: stoc.c,v 1.6 2003/06/03 03:01:39 millert Exp $";
static char rcsid[] = "$OpenBSD: stoc.c,v 1.7 2003/07/10 00:03:01 david Exp $";
#endif
#endif /* not lint */
#include "gomoku.h"
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
char *letters = "<ABCDEFGHJKLMNOPQRST>";

View File

@ -1,4 +1,4 @@
/* $OpenBSD: morse.c,v 1.10 2003/06/03 03:01:40 millert Exp $ */
/* $OpenBSD: morse.c,v 1.11 2003/07/10 00:03:01 david Exp $ */
/*
* Copyright (c) 1988, 1993
@ -39,12 +39,14 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)morse.c 8.1 (Berkeley) 5/31/93";
#else
static char rcsid[] = "$OpenBSD: morse.c,v 1.10 2003/06/03 03:01:40 millert Exp $";
static char rcsid[] = "$OpenBSD: morse.c,v 1.11 2003/07/10 00:03:01 david Exp $";
#endif
#endif /* not lint */
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
static char

View File

@ -1,4 +1,4 @@
/* $OpenBSD: pom.c,v 1.9 2003/06/03 03:01:40 millert Exp $ */
/* $OpenBSD: pom.c,v 1.10 2003/07/10 00:03:01 david Exp $ */
/* $NetBSD: pom.c,v 1.6 1996/02/06 22:47:29 jtc Exp $ */
/*
@ -42,7 +42,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)pom.c 8.1 (Berkeley) 5/31/93";
#else
static char rcsid[] = "$OpenBSD: pom.c,v 1.9 2003/06/03 03:01:40 millert Exp $";
static char rcsid[] = "$OpenBSD: pom.c,v 1.10 2003/07/10 00:03:01 david Exp $";
#endif
#endif /* not lint */
@ -62,6 +62,7 @@ static char rcsid[] = "$OpenBSD: pom.c,v 1.9 2003/06/03 03:01:40 millert Exp $";
#include <sys/types.h>
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <err.h>

View File

@ -1,4 +1,4 @@
/* $OpenBSD: ppt.c,v 1.9 2003/06/03 03:01:40 millert Exp $ */
/* $OpenBSD: ppt.c,v 1.10 2003/07/10 00:03:01 david Exp $ */
/* $NetBSD: ppt.c,v 1.4 1995/03/23 08:35:40 cgd Exp $ */
/*
@ -40,13 +40,14 @@ static const char copyright[] =
#if 0
static const char sccsid[] = "@(#)ppt.c 8.1 (Berkeley) 5/31/93";
#else
static const char rcsid[] = "$OpenBSD: ppt.c,v 1.9 2003/06/03 03:01:40 millert Exp $";
static const char rcsid[] = "$OpenBSD: ppt.c,v 1.10 2003/07/10 00:03:01 david Exp $";
#endif
#endif /* not lint */
#include <sys/types.h>
#include <err.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <vis.h>

View File

@ -1,4 +1,4 @@
/* $OpenBSD: lo_main.c,v 1.5 2003/06/03 03:01:41 millert Exp $ */
/* $OpenBSD: lo_main.c,v 1.6 2003/07/10 00:03:01 david Exp $ */
/* $NetBSD: lo_main.c,v 1.3 1995/04/22 10:36:59 cgd Exp $ */
/*
@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)lo_main.c 8.2 (Berkeley) 4/28/95";
#else
static char rcsid[] = "$OpenBSD: lo_main.c,v 1.5 2003/06/03 03:01:41 millert Exp $";
static char rcsid[] = "$OpenBSD: lo_main.c,v 1.6 2003/07/10 00:03:01 david Exp $";
#endif
#endif /* not lint */
@ -46,6 +46,7 @@ static char rcsid[] = "$OpenBSD: lo_main.c,v 1.5 2003/06/03 03:01:41 millert Exp
#include <sys/param.h>
#include <sys/types.h>
#include <pwd.h>
#include <stdlib.h>
#include "extern.h"
#include "pathnames.h"

View File

@ -1,4 +1,4 @@
/* $OpenBSD: pl_1.c,v 1.7 2003/06/03 03:01:41 millert Exp $ */
/* $OpenBSD: pl_1.c,v 1.8 2003/07/10 00:03:01 david Exp $ */
/* $NetBSD: pl_1.c,v 1.3 1995/04/22 10:37:07 cgd Exp $ */
/*
@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)pl_1.c 8.1 (Berkeley) 5/31/93";
#else
static char rcsid[] = "$OpenBSD: pl_1.c,v 1.7 2003/06/03 03:01:41 millert Exp $";
static char rcsid[] = "$OpenBSD: pl_1.c,v 1.8 2003/07/10 00:03:01 david Exp $";
#endif
#endif /* not lint */
@ -42,6 +42,7 @@ static char rcsid[] = "$OpenBSD: pl_1.c,v 1.7 2003/06/03 03:01:41 millert Exp $"
#include <sys/types.h>
#include <errno.h>
#include <sys/wait.h>
#include <stdlib.h>
#include <unistd.h>
#ifndef __GNUC__

View File

@ -1,4 +1,4 @@
/* $OpenBSD: computer.c,v 1.7 2003/06/03 03:01:41 millert Exp $ */
/* $OpenBSD: computer.c,v 1.8 2003/07/10 00:03:01 david Exp $ */
/* $NetBSD: computer.c,v 1.4 1995/04/24 12:25:51 cgd Exp $ */
/*
@ -34,11 +34,12 @@
#if 0
static char sccsid[] = "@(#)computer.c 8.1 (Berkeley) 5/31/93";
#else
static char rcsid[] = "$OpenBSD: computer.c,v 1.7 2003/06/03 03:01:41 millert Exp $";
static char rcsid[] = "$OpenBSD: computer.c,v 1.8 2003/07/10 00:03:01 david Exp $";
#endif
#endif /* not lint */
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "trek.h"
#include "getpar.h"

View File

@ -1,4 +1,4 @@
/* $OpenBSD: destruct.c,v 1.5 2003/06/03 03:01:41 millert Exp $ */
/* $OpenBSD: destruct.c,v 1.6 2003/07/10 00:03:01 david Exp $ */
/* $NetBSD: destruct.c,v 1.3 1995/04/22 10:58:44 cgd Exp $ */
/*
@ -34,11 +34,12 @@
#if 0
static char sccsid[] = "@(#)destruct.c 8.1 (Berkeley) 5/31/93";
#else
static char rcsid[] = "$OpenBSD: destruct.c,v 1.5 2003/06/03 03:01:41 millert Exp $";
static char rcsid[] = "$OpenBSD: destruct.c,v 1.6 2003/07/10 00:03:01 david Exp $";
#endif
#endif /* not lint */
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include "trek.h"
#include "getpar.h"

View File

@ -1,4 +1,4 @@
/* $OpenBSD: getpar.c,v 1.11 2003/06/03 03:01:41 millert Exp $ */
/* $OpenBSD: getpar.c,v 1.12 2003/07/10 00:03:01 david Exp $ */
/* $NetBSD: getpar.c,v 1.4 1995/04/24 12:25:57 cgd Exp $ */
/*
@ -34,11 +34,12 @@
#if 0
static char sccsid[] = "@(#)getpar.c 8.1 (Berkeley) 5/31/93";
#else
static char rcsid[] = "$OpenBSD: getpar.c,v 1.11 2003/06/03 03:01:41 millert Exp $";
static char rcsid[] = "$OpenBSD: getpar.c,v 1.12 2003/07/10 00:03:01 david Exp $";
#endif
#endif /* not lint */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "getpar.h"
#include "trek.h"

View File

@ -1,4 +1,4 @@
/* $OpenBSD: setup.c,v 1.5 2003/06/03 03:01:42 millert Exp $ */
/* $OpenBSD: setup.c,v 1.6 2003/07/10 00:03:01 david Exp $ */
/* $NetBSD: setup.c,v 1.4 1995/04/24 12:26:06 cgd Exp $ */
/*
@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)setup.c 8.1 (Berkeley) 5/31/93";
#else
static char rcsid[] = "$OpenBSD: setup.c,v 1.5 2003/06/03 03:01:42 millert Exp $";
static char rcsid[] = "$OpenBSD: setup.c,v 1.6 2003/07/10 00:03:01 david Exp $";
#endif
#endif /* not lint */
@ -42,6 +42,7 @@ static char rcsid[] = "$OpenBSD: setup.c,v 1.5 2003/06/03 03:01:42 millert Exp $
#include <math.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <err.h>
#include "trek.h"
#include "getpar.h"

View File

@ -1,4 +1,4 @@
/* $OpenBSD: torped.c,v 1.6 2003/06/03 03:01:42 millert Exp $ */
/* $OpenBSD: torped.c,v 1.7 2003/07/10 00:03:01 david Exp $ */
/* $NetBSD: torped.c,v 1.3 1995/04/22 10:59:34 cgd Exp $ */
/*
@ -34,11 +34,12 @@
#if 0
static char sccsid[] = "@(#)torped.c 8.1 (Berkeley) 5/31/93";
#else
static char rcsid[] = "$OpenBSD: torped.c,v 1.6 2003/06/03 03:01:42 millert Exp $";
static char rcsid[] = "$OpenBSD: torped.c,v 1.7 2003/07/10 00:03:01 david Exp $";
#endif
#endif /* not lint */
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "trek.h"
#include "getpar.h"

View File

@ -1,4 +1,4 @@
/* $OpenBSD: ldd.c,v 1.10 2003/06/03 01:27:31 art Exp $ */
/* $OpenBSD: ldd.c,v 1.11 2003/07/10 00:04:28 david Exp $ */
/*
* Copyright (c) 2001 Artur Grabowski <art@openbsd.org>
* All rights reserved.
@ -29,6 +29,7 @@
#include <elf_abi.h>
#include <err.h>
#include <fcntl.h>
#include <string.h>
#include <unistd.h>
#include <sys/stat.h>

View File

@ -1,4 +1,4 @@
/* $OpenBSD: lockspool.c,v 1.9 2003/06/03 02:05:13 millert Exp $ */
/* $OpenBSD: lockspool.c,v 1.10 2003/07/10 00:04:28 david Exp $ */
/*
* Copyright (c) 1998 Theo de Raadt <deraadt@theos.com>
@ -27,7 +27,7 @@
*/
#ifndef lint
static const char rcsid[] = "$OpenBSD: lockspool.c,v 1.9 2003/06/03 02:05:13 millert Exp $";
static const char rcsid[] = "$OpenBSD: lockspool.c,v 1.10 2003/07/10 00:04:28 david Exp $";
#endif /* not lint */
#include <sys/signal.h>
@ -36,6 +36,7 @@ static const char rcsid[] = "$OpenBSD: lockspool.c,v 1.9 2003/06/03 02:05:13 mil
#include <unistd.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include "mail.local.h"
void unhold(int);

View File

@ -1,4 +1,4 @@
/* $OpenBSD: init.c,v 1.1 2000/12/20 01:41:53 millert Exp $ */
/* $OpenBSD: init.c,v 1.2 2003/07/10 00:04:28 david Exp $ */
/*-
* Copyright (c) 1996 Berkeley Software Design, Inc. All rights reserved.
@ -36,6 +36,7 @@
#include <sys/types.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "token.h"

View File

@ -1,4 +1,4 @@
/* $OpenBSD: locking.c,v 1.6 2002/07/03 23:39:03 deraadt Exp $ */
/* $OpenBSD: locking.c,v 1.7 2003/07/10 00:04:28 david Exp $ */
/*
* Copyright (c) 1996-1998 Theo de Raadt <deraadt@theos.com>
@ -29,7 +29,7 @@
*/
#ifndef lint
static char rcsid[] = "$OpenBSD: locking.c,v 1.6 2002/07/03 23:39:03 deraadt Exp $";
static char rcsid[] = "$OpenBSD: locking.c,v 1.7 2003/07/10 00:04:28 david Exp $";
#endif /* not lint */
#include <sys/param.h>
@ -41,6 +41,7 @@ static char rcsid[] = "$OpenBSD: locking.c,v 1.6 2002/07/03 23:39:03 deraadt Exp
#include <unistd.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include "pathnames.h"

View File

@ -1,4 +1,4 @@
/* $OpenBSD: rusers_proc.c,v 1.18 2003/07/06 21:57:27 deraadt Exp $ */
/* $OpenBSD: rusers_proc.c,v 1.19 2003/07/10 00:04:28 david Exp $ */
/*-
* Copyright (c) 1993 John Brezak
@ -29,7 +29,7 @@
*/
#ifndef lint
static char rcsid[] = "$OpenBSD: rusers_proc.c,v 1.18 2003/07/06 21:57:27 deraadt Exp $";
static char rcsid[] = "$OpenBSD: rusers_proc.c,v 1.19 2003/07/10 00:04:28 david Exp $";
#endif /* not lint */
#include <sys/param.h>
@ -40,6 +40,7 @@ static char rcsid[] = "$OpenBSD: rusers_proc.c,v 1.18 2003/07/06 21:57:27 deraad
#include <paths.h>
#include <utmp.h>
#include <stdio.h>
#include <stdlib.h>
#include <syslog.h>
#include <unistd.h>
#include <string.h>

View File

@ -1,4 +1,4 @@
/* $OpenBSD: yppasswdd_proc.c,v 1.9 2003/06/02 21:08:26 maja Exp $ */
/* $OpenBSD: yppasswdd_proc.c,v 1.10 2003/07/10 00:04:28 david Exp $ */
/*
* Copyright (c) 1994 Mats O Jansson <moj@stacken.kth.se>
@ -27,12 +27,13 @@
*/
#ifndef LINT
static char rcsid[] = "$OpenBSD: yppasswdd_proc.c,v 1.9 2003/06/02 21:08:26 maja Exp $";
static char rcsid[] = "$OpenBSD: yppasswdd_proc.c,v 1.10 2003/07/10 00:04:28 david Exp $";
#endif
#include <sys/types.h>
#include <rpc/rpc.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <syslog.h>

View File

@ -24,7 +24,7 @@
*/
#ifndef lint
static char rcsid[] = "$OpenBSD: arch.c,v 1.8 2003/06/10 22:20:44 deraadt Exp $";
static char rcsid[] = "$OpenBSD: arch.c,v 1.9 2003/07/10 00:06:50 david Exp $";
#endif /* not lint */
#include <sys/param.h>
@ -32,6 +32,8 @@ static char rcsid[] = "$OpenBSD: arch.c,v 1.8 2003/06/10 22:20:44 deraadt Exp $"
#include <err.h>
#include <locale.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
static void usage(void);

View File

@ -1,4 +1,4 @@
/* $OpenBSD: aucat.c,v 1.7 2003/07/02 21:04:09 deraadt Exp $ */
/* $OpenBSD: aucat.c,v 1.8 2003/07/10 00:06:50 david Exp $ */
/*
* Copyright (c) 1997 Kenneth Stailey. All rights reserved.
*
@ -33,6 +33,7 @@
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <err.h>

View File

@ -1,4 +1,4 @@
/* $OpenBSD: gzopen.c,v 1.10 2003/07/08 00:30:12 mickey Exp $ */
/* $OpenBSD: gzopen.c,v 1.11 2003/07/10 00:06:50 david Exp $ */
/*
* Copyright (c) 1997 Michael Shalayeff
@ -59,12 +59,13 @@
*/
const char gz_rcsid[] =
"$OpenBSD: gzopen.c,v 1.10 2003/07/08 00:30:12 mickey Exp $";
"$OpenBSD: gzopen.c,v 1.11 2003/07/10 00:06:50 david Exp $";
#include <sys/types.h>
#include <sys/stat.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <unistd.h>
#include <zlib.h>

View File

@ -1,4 +1,4 @@
/* $OpenBSD: dirname.c,v 1.9 2003/06/17 21:56:25 millert Exp $ */
/* $OpenBSD: dirname.c,v 1.10 2003/07/10 00:06:50 david Exp $ */
/*
* Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com>
@ -17,13 +17,14 @@
*/
#ifndef lint
static char rcsid[] = "$OpenBSD: dirname.c,v 1.9 2003/06/17 21:56:25 millert Exp $";
static char rcsid[] = "$OpenBSD: dirname.c,v 1.10 2003/07/10 00:06:50 david Exp $";
#endif /* not lint */
#include <err.h>
#include <libgen.h>
#include <locale.h>
#include <stdio.h>
#include <stdlib.h>
int
main(int argc, char *argv[])

View File

@ -1,4 +1,4 @@
/* $OpenBSD: sprint.c,v 1.8 2003/06/10 22:20:46 deraadt Exp $ */
/* $OpenBSD: sprint.c,v 1.9 2003/07/10 00:06:50 david Exp $ */
/*
* Copyright (c) 1989 The Regents of the University of California.
@ -34,7 +34,7 @@
#ifndef lint
/*static char sccsid[] = "from: @(#)sprint.c 5.8 (Berkeley) 12/4/90";*/
static char rcsid[] = "$OpenBSD: sprint.c,v 1.8 2003/06/10 22:20:46 deraadt Exp $";
static char rcsid[] = "$OpenBSD: sprint.c,v 1.9 2003/07/10 00:06:50 david Exp $";
#endif /* not lint */
#include <sys/types.h>
@ -42,6 +42,7 @@ static char rcsid[] = "$OpenBSD: sprint.c,v 1.8 2003/06/10 22:20:46 deraadt Exp
#include <tzfile.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <err.h>
#include "finger.h"
#include "extern.h"

View File

@ -1,4 +1,4 @@
/* $OpenBSD: getconf.c,v 1.8 2003/06/10 22:20:47 deraadt Exp $ */
/* $OpenBSD: getconf.c,v 1.9 2003/07/10 00:06:51 david Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -41,11 +41,12 @@
*/
#ifndef lint
static char rcsid[] = "$OpenBSD: getconf.c,v 1.8 2003/06/10 22:20:47 deraadt Exp $";
static char rcsid[] = "$OpenBSD: getconf.c,v 1.9 2003/07/10 00:06:51 david Exp $";
#endif /* not lint */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <limits.h>
#include <locale.h>
#include <unistd.h>

View File

@ -1,10 +1,11 @@
/* $OpenBSD: getopt.c,v 1.5 2003/06/10 22:20:47 deraadt Exp $ */
/* $OpenBSD: getopt.c,v 1.6 2003/07/10 00:06:51 david Exp $ */
#ifndef lint
static char rcsid[] = "$OpenBSD: getopt.c,v 1.5 2003/06/10 22:20:47 deraadt Exp $";
static char rcsid[] = "$OpenBSD: getopt.c,v 1.6 2003/07/10 00:06:51 david Exp $";
#endif /* not lint */
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
int

View File

@ -1,4 +1,4 @@
/* $OpenBSD: printgprof.c,v 1.8 2003/06/03 02:56:08 millert Exp $ */
/* $OpenBSD: printgprof.c,v 1.9 2003/07/10 00:06:51 david Exp $ */
/* $NetBSD: printgprof.c,v 1.5 1995/04/19 07:16:21 cgd Exp $ */
/*
@ -34,10 +34,12 @@
#if 0
static char sccsid[] = "@(#)printgprof.c 8.1 (Berkeley) 6/6/93";
#else
static char rcsid[] = "$OpenBSD: printgprof.c,v 1.8 2003/06/03 02:56:08 millert Exp $";
static char rcsid[] = "$OpenBSD: printgprof.c,v 1.9 2003/07/10 00:06:51 david Exp $";
#endif
#endif /* not lint */
#include <string.h>
#include "gprof.h"
#include "pathnames.h"

View File

@ -1,4 +1,4 @@
/* $OpenBSD: printlist.c,v 1.4 2003/06/03 02:56:08 millert Exp $ */
/* $OpenBSD: printlist.c,v 1.5 2003/07/10 00:06:51 david Exp $ */
/* $NetBSD: printlist.c,v 1.5 1995/04/19 07:16:23 cgd Exp $ */
/*
@ -34,10 +34,12 @@
#if 0
static char sccsid[] = "@(#)printlist.c 8.1 (Berkeley) 6/6/93";
#else
static char rcsid[] = "$OpenBSD: printlist.c,v 1.4 2003/06/03 02:56:08 millert Exp $";
static char rcsid[] = "$OpenBSD: printlist.c,v 1.5 2003/07/10 00:06:51 david Exp $";
#endif
#endif /* not lint */
#include <string.h>
#include "gprof.h"
/*

View File

@ -1,4 +1,4 @@
/* $OpenBSD: hexdump.c,v 1.10 2003/06/10 22:20:47 deraadt Exp $ */
/* $OpenBSD: hexdump.c,v 1.11 2003/07/10 00:06:51 david Exp $ */
/* $NetBSD: hexdump.c,v 1.7 1997/10/19 02:34:06 lukem Exp $ */
/*
@ -38,11 +38,12 @@ char copyright[] =
#ifndef lint
/*static char sccsid[] = "from: @(#)hexdump.c 5.5 (Berkeley) 6/1/90";*/
static char rcsid[] = "$OpenBSD: hexdump.c,v 1.10 2003/06/10 22:20:47 deraadt Exp $";
static char rcsid[] = "$OpenBSD: hexdump.c,v 1.11 2003/07/10 00:06:51 david Exp $";
#endif /* not lint */
#include <sys/types.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "hexdump.h"

View File

@ -1,5 +1,5 @@
/*
* $OpenBSD: locate.bigram.c,v 1.8 2003/06/03 02:56:09 millert Exp $
* $OpenBSD: locate.bigram.c,v 1.9 2003/07/10 00:06:51 david Exp $
*
* Copyright (c) 1995 Wolfram Schneider <wosch@FreeBSD.org>. Berlin.
* Copyright (c) 1989, 1993
@ -32,7 +32,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: locate.bigram.c,v 1.8 2003/06/03 02:56:09 millert Exp $
* $Id: locate.bigram.c,v 1.9 2003/07/10 00:06:51 david Exp $
*/
#ifndef lint
@ -41,7 +41,7 @@ static char copyright[] =
"@(#) Copyright (c) 1989, 1993\n\
The Regents of the University of California. All rights reserved.\n";
#else
static char rcsid[] = "$OpenBSD: locate.bigram.c,v 1.8 2003/06/03 02:56:09 millert Exp $";
static char rcsid[] = "$OpenBSD: locate.bigram.c,v 1.9 2003/07/10 00:06:51 david Exp $";
#endif
#endif /* not lint */
@ -58,6 +58,7 @@ static char sccsid[] = "@(#)locate.bigram.c 8.1 (Berkeley) 6/6/93";
*/
#include <stdio.h>
#include <stdlib.h>
#include <sys/param.h> /* for MAXPATHLEN */
#include "locate.h"

View File

@ -1,4 +1,4 @@
/* $OpenBSD: if.c,v 1.35 2003/06/03 02:56:13 millert Exp $ */
/* $OpenBSD: if.c,v 1.36 2003/07/10 00:06:51 david Exp $ */
/* $NetBSD: if.c,v 1.16.4.2 1996/06/07 21:46:46 thorpej Exp $ */
/*
@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "from: @(#)if.c 8.2 (Berkeley) 2/21/94";
#else
static char *rcsid = "$OpenBSD: if.c,v 1.35 2003/06/03 02:56:13 millert Exp $";
static char *rcsid = "$OpenBSD: if.c,v 1.36 2003/07/10 00:06:51 david Exp $";
#endif
#endif /* not lint */
@ -59,6 +59,7 @@ static char *rcsid = "$OpenBSD: if.c,v 1.35 2003/06/03 02:56:13 millert Exp $";
#include <limits.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>

View File

@ -1,4 +1,4 @@
/* $OpenBSD: passwd.c,v 1.16 2003/06/03 02:56:14 millert Exp $ */
/* $OpenBSD: passwd.c,v 1.17 2003/07/10 00:06:51 david Exp $ */
/*
* Copyright (c) 1988 The Regents of the University of California.
@ -37,10 +37,11 @@ char copyright[] =
#ifndef lint
/*static const char sccsid[] = "from: @(#)passwd.c 5.5 (Berkeley) 7/6/91";*/
static const char rcsid[] = "$OpenBSD: passwd.c,v 1.16 2003/06/03 02:56:14 millert Exp $";
static const char rcsid[] = "$OpenBSD: passwd.c,v 1.17 2003/07/10 00:06:51 david Exp $";
#endif /* not lint */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <err.h>

View File

@ -1,4 +1,4 @@
/* $OpenBSD: paste.c,v 1.12 2003/06/10 22:20:49 deraadt Exp $ */
/* $OpenBSD: paste.c,v 1.13 2003/07/10 00:06:51 david Exp $ */
/*
* Copyright (c) 1989 The Regents of the University of California.
@ -40,10 +40,11 @@ char copyright[] =
#ifndef lint
/*static char sccsid[] = "from: @(#)paste.c 5.7 (Berkeley) 10/30/90";*/
static char rcsid[] = "$OpenBSD: paste.c,v 1.12 2003/06/10 22:20:49 deraadt Exp $";
static char rcsid[] = "$OpenBSD: paste.c,v 1.13 2003/07/10 00:06:51 david Exp $";
#endif /* not lint */
#include <sys/types.h>
#include <err.h>
#include <errno.h>
#include <limits.h>
#include <stdio.h>

View File

@ -1,4 +1,4 @@
/* $OpenBSD: i386.c,v 1.4 2002/07/22 01:20:50 art Exp $ */
/* $OpenBSD: i386.c,v 1.5 2003/07/10 00:06:51 david Exp $ */
/*
* Copyright (c) 2002 Federico Schwindt <fgsch@openbsd.org>
* All rights reserved.
@ -28,6 +28,7 @@
#include <sys/ptrace.h>
#include <machine/reg.h>
#include <machine/frame.h>
#include <string.h>
#include "pmdb.h"
/*

View File

@ -1,4 +1,4 @@
/* $OpenBSD: renice.c,v 1.10 2003/06/10 22:20:50 deraadt Exp $ */
/* $OpenBSD: renice.c,v 1.11 2003/07/10 00:06:51 david Exp $ */
/*
* Copyright (c) 1983, 1989, 1993
@ -39,7 +39,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)renice.c 8.1 (Berkeley) 6/9/93";
#else
static char rcsid[] = "$OpenBSD: renice.c,v 1.10 2003/06/10 22:20:50 deraadt Exp $";
static char rcsid[] = "$OpenBSD: renice.c,v 1.11 2003/07/10 00:06:51 david Exp $";
#endif
#endif /* not lint */
@ -49,6 +49,7 @@ static char rcsid[] = "$OpenBSD: renice.c,v 1.10 2003/06/10 22:20:50 deraadt Exp
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <pwd.h>
#include <err.h>
#include <errno.h>

View File

@ -1,4 +1,4 @@
/* $OpenBSD: rpc_hout.c,v 1.14 2003/06/25 16:04:45 deraadt Exp $ */
/* $OpenBSD: rpc_hout.c,v 1.15 2003/07/10 00:06:51 david Exp $ */
/* $NetBSD: rpc_hout.c,v 1.4 1995/06/11 21:49:55 pk Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
@ -39,6 +39,7 @@ static char sccsid[] = "@(#)rpc_hout.c 1.12 89/02/22 (C) 1987 SMI";
*/
#include <sys/cdefs.h>
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include "rpc_parse.h"
#include "rpc_util.h"

View File

@ -1,4 +1,4 @@
/* $OpenBSD: scan.c,v 1.14 2003/04/30 21:34:47 vincent Exp $ */
/* $OpenBSD: scan.c,v 1.15 2003/07/10 00:06:51 david Exp $ */
/*
* Copyright (c) 1992 Carnegie Mellon University
@ -85,6 +85,7 @@
#include <libc.h>
#include <c.h>
#include <stdlib.h>
#include <vis.h>
#include <sys/types.h>
#include <sys/param.h>

View File

@ -1,4 +1,4 @@
/* $OpenBSD: keyboard.c,v 1.13 2003/06/03 02:56:17 millert Exp $ */
/* $OpenBSD: keyboard.c,v 1.14 2003/07/10 00:06:51 david Exp $ */
/* $NetBSD: keyboard.c,v 1.2 1995/01/20 08:51:59 jtc Exp $ */
/*-
@ -34,11 +34,12 @@
#if 0
static char sccsid[] = "@(#)keyboard.c 8.1 (Berkeley) 6/6/93";
#endif
static char rcsid[] = "$OpenBSD: keyboard.c,v 1.13 2003/06/03 02:56:17 millert Exp $";
static char rcsid[] = "$OpenBSD: keyboard.c,v 1.14 2003/07/10 00:06:51 david Exp $";
#endif /* not lint */
#include <ctype.h>
#include <signal.h>
#include <stdlib.h>
#include <termios.h>
#include <errno.h>

View File

@ -1,4 +1,4 @@
/* $OpenBSD: get_names.c,v 1.12 2003/06/03 02:56:17 millert Exp $ */
/* $OpenBSD: get_names.c,v 1.13 2003/07/10 00:06:51 david Exp $ */
/* $NetBSD: get_names.c,v 1.4 1994/12/09 02:14:16 jtc Exp $ */
/*
@ -34,12 +34,13 @@
#if 0
static char sccsid[] = "@(#)get_names.c 8.1 (Berkeley) 6/6/93";
#endif
static char rcsid[] = "$OpenBSD: get_names.c,v 1.12 2003/06/03 02:56:17 millert Exp $";
static char rcsid[] = "$OpenBSD: get_names.c,v 1.13 2003/07/10 00:06:51 david Exp $";
#endif /* not lint */
#include "talk.h"
#include <sys/param.h>
#include <pwd.h>
#include <stdlib.h>
#include <unistd.h>
extern CTL_MSG msg;

View File

@ -1,4 +1,4 @@
/* $OpenBSD: init_disp.c,v 1.17 2003/06/10 22:20:52 deraadt Exp $ */
/* $OpenBSD: init_disp.c,v 1.18 2003/07/10 00:06:51 david Exp $ */
/* $NetBSD: init_disp.c,v 1.6 1994/12/09 02:14:17 jtc Exp $ */
/*
@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)init_disp.c 8.2 (Berkeley) 2/16/94";
#endif
static char rcsid[] = "$OpenBSD: init_disp.c,v 1.17 2003/06/10 22:20:52 deraadt Exp $";
static char rcsid[] = "$OpenBSD: init_disp.c,v 1.18 2003/07/10 00:06:51 david Exp $";
#endif /* not lint */
/*
@ -46,6 +46,7 @@ static char rcsid[] = "$OpenBSD: init_disp.c,v 1.17 2003/06/10 22:20:52 deraadt
#include <sys/ioctl.h>
#include <sys/ioctl_compat.h>
#include <err.h>
#include <stdlib.h>
#include <termios.h>
#include <unistd.h>

View File

@ -1,4 +1,4 @@
/* $OpenBSD: mset.c,v 1.5 2003/06/03 02:56:19 millert Exp $ */
/* $OpenBSD: mset.c,v 1.6 2003/07/10 00:06:51 david Exp $ */
/*-
* Copyright (c) 1988 The Regents of the University of California.
@ -37,7 +37,7 @@ char copyright[] =
#ifndef lint
/*static char sccsid[] = "from: @(#)mset.c 4.2 (Berkeley) 4/26/91";*/
static char rcsid[] = "$OpenBSD: mset.c,v 1.5 2003/06/03 02:56:19 millert Exp $";
static char rcsid[] = "$OpenBSD: mset.c,v 1.6 2003/07/10 00:06:51 david Exp $";
#endif /* not lint */
/*
@ -48,6 +48,7 @@ static char rcsid[] = "$OpenBSD: mset.c,v 1.5 2003/06/03 02:56:19 millert Exp $"
*/
#include <stdio.h>
#include <stdlib.h>
#if defined(unix)
#include <strings.h>
#else /* defined(unix) */

View File

@ -1,4 +1,4 @@
/* $OpenBSD: system.c,v 1.14 2003/06/03 02:56:19 millert Exp $ */
/* $OpenBSD: system.c,v 1.15 2003/07/10 00:06:51 david Exp $ */
/*-
* Copyright (c) 1988 The Regents of the University of California.
@ -31,7 +31,7 @@
#ifndef lint
/*static char sccsid[] = "from: @(#)system.c 4.5 (Berkeley) 4/26/91";*/
static char rcsid[] = "$OpenBSD: system.c,v 1.14 2003/06/03 02:56:19 millert Exp $";
static char rcsid[] = "$OpenBSD: system.c,v 1.15 2003/07/10 00:06:51 david Exp $";
#endif /* not lint */
#include <sys/types.h>
@ -61,6 +61,7 @@ static char rcsid[] = "$OpenBSD: system.c,v 1.14 2003/06/03 02:56:19 millert Exp
#include <stdlib.h>
#include <string.h>
#include <pwd.h>
#include <unistd.h>
#include "../general/general.h"
#include "../ctlr/api.h"

View File

@ -1,4 +1,4 @@
/* $OpenBSD: uname.c,v 1.7 2003/07/02 20:23:15 deraadt Exp $ */
/* $OpenBSD: uname.c,v 1.8 2003/07/10 00:06:51 david Exp $ */
/*
* Copyright (c) 1994 Winning Strategies, Inc.
@ -32,11 +32,12 @@
*/
#ifndef lint
static char rcsid[] = "$OpenBSD: uname.c,v 1.7 2003/07/02 20:23:15 deraadt Exp $";
static char rcsid[] = "$OpenBSD: uname.c,v 1.8 2003/07/10 00:06:51 david Exp $";
#endif /* not lint */
#include <sys/param.h>
#include <stdio.h>
#include <stdlib.h>
#include <locale.h>
#include <unistd.h>
#include <sys/utsname.h>

View File

@ -1,4 +1,4 @@
/* $OpenBSD: unexpand.c,v 1.8 2003/06/10 22:20:53 deraadt Exp $ */
/* $OpenBSD: unexpand.c,v 1.9 2003/07/10 00:06:51 david Exp $ */
/* $NetBSD: unexpand.c,v 1.5 1994/12/24 17:08:05 cgd Exp $ */
/*-
@ -40,13 +40,14 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)unexpand.c 8.1 (Berkeley) 6/6/93";
#endif
static char rcsid[] = "$OpenBSD: unexpand.c,v 1.8 2003/06/10 22:20:53 deraadt Exp $";
static char rcsid[] = "$OpenBSD: unexpand.c,v 1.9 2003/07/10 00:06:51 david Exp $";
#endif /* not lint */
/*
* unexpand - put tabs into a file replacing blanks
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
char genbuf[BUFSIZ];

View File

@ -1,4 +1,4 @@
/* $OpenBSD: uudecode.c,v 1.11 2003/06/10 22:20:53 deraadt Exp $ */
/* $OpenBSD: uudecode.c,v 1.12 2003/07/10 00:06:51 david Exp $ */
/* $NetBSD: uudecode.c,v 1.6 1994/11/17 07:40:43 jtc Exp $ */
/*-
@ -38,7 +38,7 @@ char copyright[] =
#if 0
static char sccsid[] = "@(#)uudecode.c 8.2 (Berkeley) 4/2/94";
#endif
static char rcsid[] = "$OpenBSD: uudecode.c,v 1.11 2003/06/10 22:20:53 deraadt Exp $";
static char rcsid[] = "$OpenBSD: uudecode.c,v 1.12 2003/07/10 00:06:51 david Exp $";
#endif /* not lint */
/*
@ -51,6 +51,7 @@ static char rcsid[] = "$OpenBSD: uudecode.c,v 1.11 2003/06/10 22:20:53 deraadt E
* security at all.
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <locale.h>
#include <errno.h>

View File

@ -1,4 +1,4 @@
/* $OpenBSD: what.c,v 1.10 2003/06/10 22:20:54 deraadt Exp $ */
/* $OpenBSD: what.c,v 1.11 2003/07/10 00:06:52 david Exp $ */
/* $NetBSD: what.c,v 1.4 1994/12/20 16:01:03 jtc Exp $ */
/*
@ -40,7 +40,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)what.c 8.1 (Berkeley) 6/6/93";
#endif
static char rcsid[] = "$OpenBSD: what.c,v 1.10 2003/06/10 22:20:54 deraadt Exp $";
static char rcsid[] = "$OpenBSD: what.c,v 1.11 2003/07/10 00:06:52 david Exp $";
#endif /* not lint */
#include <sys/types.h>
@ -48,6 +48,7 @@ static char rcsid[] = "$OpenBSD: what.c,v 1.10 2003/06/10 22:20:54 deraadt Exp $
#include <stdio.h>
#include <ctype.h>
#include <err.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>

View File

@ -1,4 +1,4 @@
/* $OpenBSD: compress.c,v 1.6 2003/06/03 02:56:23 millert Exp $ */
/* $OpenBSD: compress.c,v 1.7 2003/07/10 00:06:52 david Exp $ */
/* $NetBSD: compress.c,v 1.3 1995/09/28 10:34:13 tls Exp $ */
/*
@ -37,11 +37,12 @@
#if 0
static char sccsid[] = "@(#)compress.c 8.1 (Berkeley) 6/6/93";
#else
static char rcsid[] = "$OpenBSD: compress.c,v 1.6 2003/06/03 02:56:23 millert Exp $";
static char rcsid[] = "$OpenBSD: compress.c,v 1.7 2003/07/10 00:06:52 david Exp $";
#endif
#endif /* not lint */
#include <stdlib.h>
#include <string.h>
#include "ww.h"
#include "tt.h"

View File

@ -1,4 +1,4 @@
/* $OpenBSD: var.c,v 1.5 2003/06/03 02:56:23 millert Exp $ */
/* $OpenBSD: var.c,v 1.6 2003/07/10 00:06:52 david Exp $ */
/* $NetBSD: var.c,v 1.4 1995/09/28 10:35:01 tls Exp $ */
/*
@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)var.c 8.1 (Berkeley) 6/6/93";
#else
static char rcsid[] = "$OpenBSD: var.c,v 1.5 2003/06/03 02:56:23 millert Exp $";
static char rcsid[] = "$OpenBSD: var.c,v 1.6 2003/07/10 00:06:52 david Exp $";
#endif
#endif /* not lint */
@ -45,6 +45,7 @@ static char rcsid[] = "$OpenBSD: var.c,v 1.5 2003/06/03 02:56:23 millert Exp $";
#include "var.h"
#include "string.h"
#include <stdlib.h>
#include <string.h>
struct var *
var_set1(head, name, v)

View File

@ -1,4 +1,4 @@
/* $OpenBSD: wwclose.c,v 1.5 2003/06/03 02:56:23 millert Exp $ */
/* $OpenBSD: wwclose.c,v 1.6 2003/07/10 00:06:52 david Exp $ */
/* $NetBSD: wwclose.c,v 1.3 1995/09/28 10:35:14 tls Exp $ */
/*
@ -37,10 +37,12 @@
#if 0
static char sccsid[] = "@(#)wwclose.c 8.1 (Berkeley) 6/6/93";
#else
static char rcsid[] = "$OpenBSD: wwclose.c,v 1.5 2003/06/03 02:56:23 millert Exp $";
static char rcsid[] = "$OpenBSD: wwclose.c,v 1.6 2003/07/10 00:06:52 david Exp $";
#endif
#endif /* not lint */
#include <unistd.h>
#include "ww.h"
wwclose(w)

View File

@ -1,4 +1,4 @@
/* $OpenBSD: wwend.c,v 1.4 2003/06/03 02:56:23 millert Exp $ */
/* $OpenBSD: wwend.c,v 1.5 2003/07/10 00:06:52 david Exp $ */
/* $NetBSD: wwend.c,v 1.3 1995/09/28 10:35:26 tls Exp $ */
/*
@ -37,10 +37,12 @@
#if 0
static char sccsid[] = "@(#)wwend.c 8.1 (Berkeley) 6/6/93";
#else
static char rcsid[] = "$OpenBSD: wwend.c,v 1.4 2003/06/03 02:56:23 millert Exp $";
static char rcsid[] = "$OpenBSD: wwend.c,v 1.5 2003/07/10 00:06:52 david Exp $";
#endif
#endif /* not lint */
#include <stdlib.h>
#include "ww.h"
#include "tt.h"

View File

@ -1,4 +1,4 @@
/* $OpenBSD: wwenviron.c,v 1.8 2003/06/03 02:56:23 millert Exp $ */
/* $OpenBSD: wwenviron.c,v 1.9 2003/07/10 00:06:52 david Exp $ */
/* $NetBSD: wwenviron.c,v 1.4 1995/12/21 08:39:50 mycroft Exp $ */
/*
@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)wwenviron.c 8.1 (Berkeley) 6/6/93";
#else
static char rcsid[] = "$OpenBSD: wwenviron.c,v 1.8 2003/06/03 02:56:23 millert Exp $";
static char rcsid[] = "$OpenBSD: wwenviron.c,v 1.9 2003/07/10 00:06:52 david Exp $";
#endif
#endif /* not lint */
@ -46,6 +46,8 @@ static char rcsid[] = "$OpenBSD: wwenviron.c,v 1.8 2003/06/03 02:56:23 millert E
#include <sys/ioctl.h>
#endif
#include <sys/signal.h>
#include <signal.h>
#include <stdio.h>
/*
* Set up the environment of this process to run in window 'wp'.

View File

@ -1,4 +1,4 @@
/* $OpenBSD: wwflush.c,v 1.6 2003/06/03 02:56:23 millert Exp $ */
/* $OpenBSD: wwflush.c,v 1.7 2003/07/10 00:06:52 david Exp $ */
/* $NetBSD: wwflush.c,v 1.5 1995/12/21 10:46:08 mycroft Exp $ */
/*
@ -37,13 +37,15 @@
#if 0
static char sccsid[] = "@(#)wwflush.c 8.1 (Berkeley) 6/6/93";
#else
static char rcsid[] = "$OpenBSD: wwflush.c,v 1.6 2003/06/03 02:56:23 millert Exp $";
static char rcsid[] = "$OpenBSD: wwflush.c,v 1.7 2003/07/10 00:06:52 david Exp $";
#endif
#endif /* not lint */
#include "ww.h"
#include "tt.h"
#include <sys/signal.h>
#include <string.h>
#include <unistd.h>
wwflush()
{

View File

@ -1,4 +1,4 @@
/* $OpenBSD: wwiomux.c,v 1.8 2003/06/03 02:56:23 millert Exp $ */
/* $OpenBSD: wwiomux.c,v 1.9 2003/07/10 00:06:52 david Exp $ */
/* $NetBSD: wwiomux.c,v 1.5 1996/02/08 20:45:09 mycroft Exp $ */
/*
@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)wwiomux.c 8.1 (Berkeley) 6/6/93";
#else
static char rcsid[] = "$OpenBSD: wwiomux.c,v 1.8 2003/06/03 02:56:23 millert Exp $";
static char rcsid[] = "$OpenBSD: wwiomux.c,v 1.9 2003/07/10 00:06:52 david Exp $";
#endif
#endif /* not lint */
@ -49,6 +49,7 @@ static char rcsid[] = "$OpenBSD: wwiomux.c,v 1.8 2003/06/03 02:56:23 millert Exp
#endif
#include <fcntl.h>
#include <string.h>
#include <unistd.h>
/*
* Multiple window output handler.

View File

@ -1,4 +1,4 @@
/* $OpenBSD: wwopen.c,v 1.9 2003/06/03 02:56:23 millert Exp $ */
/* $OpenBSD: wwopen.c,v 1.10 2003/07/10 00:06:52 david Exp $ */
/* $NetBSD: wwopen.c,v 1.6 1996/02/08 21:08:04 mycroft Exp $ */
/*
@ -37,11 +37,12 @@
#if 0
static char sccsid[] = "@(#)wwopen.c 8.2 (Berkeley) 4/28/95";
#else
static char rcsid[] = "$OpenBSD: wwopen.c,v 1.9 2003/06/03 02:56:23 millert Exp $";
static char rcsid[] = "$OpenBSD: wwopen.c,v 1.10 2003/07/10 00:06:52 david Exp $";
#endif
#endif /* not lint */
#include <stdlib.h>
#include <unistd.h>
#include "ww.h"
#include <sys/types.h>
#include <sys/socket.h>

View File

@ -1,4 +1,4 @@
/* $OpenBSD: wwscroll.c,v 1.5 2003/06/03 02:56:23 millert Exp $ */
/* $OpenBSD: wwscroll.c,v 1.6 2003/07/10 00:06:52 david Exp $ */
/* $NetBSD: wwscroll.c,v 1.3 1995/09/28 10:35:53 tls Exp $ */
/*
@ -37,10 +37,12 @@
#if 0
static char sccsid[] = "@(#)wwscroll.c 8.1 (Berkeley) 6/6/93";
#else
static char rcsid[] = "$OpenBSD: wwscroll.c,v 1.5 2003/06/03 02:56:23 millert Exp $";
static char rcsid[] = "$OpenBSD: wwscroll.c,v 1.6 2003/07/10 00:06:52 david Exp $";
#endif
#endif /* not lint */
#include <stdlib.h>
#include "ww.h"
#include "tt.h"

View File

@ -1,4 +1,4 @@
/* $OpenBSD: wwspawn.c,v 1.8 2003/06/03 02:56:23 millert Exp $ */
/* $OpenBSD: wwspawn.c,v 1.9 2003/07/10 00:06:52 david Exp $ */
/* $NetBSD: wwspawn.c,v 1.4 1995/12/21 08:39:57 mycroft Exp $ */
/*
@ -37,12 +37,13 @@
#if 0
static char sccsid[] = "@(#)wwspawn.c 8.1 (Berkeley) 6/6/93";
#else
static char rcsid[] = "$OpenBSD: wwspawn.c,v 1.8 2003/06/03 02:56:23 millert Exp $";
static char rcsid[] = "$OpenBSD: wwspawn.c,v 1.9 2003/07/10 00:06:52 david Exp $";
#endif
#endif /* not lint */
#include "ww.h"
#include <sys/signal.h>
#include <unistd.h>
/*
* There is a dead lock with vfork and closing of pseudo-ports.

View File

@ -1,4 +1,4 @@
/* $OpenBSD: wwsuspend.c,v 1.4 2003/06/03 02:56:23 millert Exp $ */
/* $OpenBSD: wwsuspend.c,v 1.5 2003/07/10 00:06:52 david Exp $ */
/* $NetBSD: wwsuspend.c,v 1.3 1995/09/28 10:35:56 tls Exp $ */
/*
@ -37,13 +37,14 @@
#if 0
static char sccsid[] = "@(#)wwsuspend.c 8.1 (Berkeley) 6/6/93";
#else
static char rcsid[] = "$OpenBSD: wwsuspend.c,v 1.4 2003/06/03 02:56:23 millert Exp $";
static char rcsid[] = "$OpenBSD: wwsuspend.c,v 1.5 2003/07/10 00:06:52 david Exp $";
#endif
#endif /* not lint */
#include "ww.h"
#include "tt.h"
#include <sys/signal.h>
#include <signal.h>
wwsuspend()
{

View File

@ -1,4 +1,4 @@
/* $OpenBSD: write.c,v 1.21 2003/06/10 22:20:54 deraadt Exp $ */
/* $OpenBSD: write.c,v 1.22 2003/07/10 00:06:52 david Exp $ */
/* $NetBSD: write.c,v 1.5 1995/08/31 21:48:32 jtc Exp $ */
/*
@ -43,13 +43,14 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)write.c 8.2 (Berkeley) 4/27/95";
#endif
static char *rcsid = "$OpenBSD: write.c,v 1.21 2003/06/10 22:20:54 deraadt Exp $";
static char *rcsid = "$OpenBSD: write.c,v 1.22 2003/07/10 00:06:52 david Exp $";
#endif /* not lint */
#include <sys/param.h>
#include <sys/stat.h>
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <signal.h>
#include <time.h>

View File

@ -1,4 +1,4 @@
/* $OpenBSD: ypcat.c,v 1.10 2003/07/02 21:04:10 deraadt Exp $ */
/* $OpenBSD: ypcat.c,v 1.11 2003/07/10 00:06:52 david Exp $ */
/*
* Copyright (c) 1992, 1993, 1996 Theo de Raadt <deraadt@theos.com>
@ -27,7 +27,7 @@
*/
#ifndef LINT
static char rcsid[] = "$OpenBSD: ypcat.c,v 1.10 2003/07/02 21:04:10 deraadt Exp $";
static char rcsid[] = "$OpenBSD: ypcat.c,v 1.11 2003/07/10 00:06:52 david Exp $";
#endif
#include <sys/param.h>
@ -36,6 +36,7 @@ static char rcsid[] = "$OpenBSD: ypcat.c,v 1.10 2003/07/02 21:04:10 deraadt Exp
#include <unistd.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <rpc/rpc.h>

View File

@ -1,4 +1,4 @@
/* $OpenBSD: ypmatch.c,v 1.10 2003/07/02 21:04:10 deraadt Exp $ */
/* $OpenBSD: ypmatch.c,v 1.11 2003/07/10 00:06:52 david Exp $ */
/* $NetBSD: ypmatch.c,v 1.8 1996/05/07 01:24:52 jtc Exp $ */
/*
@ -28,13 +28,14 @@
*/
#ifndef LINT
static char rcsid[] = "$OpenBSD: ypmatch.c,v 1.10 2003/07/02 21:04:10 deraadt Exp $";
static char rcsid[] = "$OpenBSD: ypmatch.c,v 1.11 2003/07/10 00:06:52 david Exp $";
#endif
#include <sys/param.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <ctype.h>