Don't pull in <sys/param.h> if we don't have to.
This commit is contained in:
parent
fc6b067849
commit
0f3aee340f
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: bt_close.c,v 1.9 1997/07/21 14:06:30 jtc Exp $ */
|
||||
/* $NetBSD: bt_close.c,v 1.10 2002/01/22 20:41:21 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990, 1993, 1994
|
||||
@ -41,12 +41,11 @@
|
||||
#if 0
|
||||
static char sccsid[] = "@(#)bt_close.c 8.7 (Berkeley) 8/17/94";
|
||||
#else
|
||||
__RCSID("$NetBSD: bt_close.c,v 1.9 1997/07/21 14:06:30 jtc Exp $");
|
||||
__RCSID("$NetBSD: bt_close.c,v 1.10 2002/01/22 20:41:21 thorpej Exp $");
|
||||
#endif
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
#include "namespace.h"
|
||||
#include <sys/param.h>
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: bt_conv.c,v 1.8 1998/12/09 12:42:46 christos Exp $ */
|
||||
/* $NetBSD: bt_conv.c,v 1.9 2002/01/22 20:41:21 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990, 1993, 1994
|
||||
@ -41,12 +41,10 @@
|
||||
#if 0
|
||||
static char sccsid[] = "@(#)bt_conv.c 8.5 (Berkeley) 8/17/94";
|
||||
#else
|
||||
__RCSID("$NetBSD: bt_conv.c,v 1.8 1998/12/09 12:42:46 christos Exp $");
|
||||
__RCSID("$NetBSD: bt_conv.c,v 1.9 2002/01/22 20:41:21 thorpej Exp $");
|
||||
#endif
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
#include <sys/param.h>
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include <db.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: bt_debug.c,v 1.8 2002/01/12 11:27:16 aymeric Exp $ */
|
||||
/* $NetBSD: bt_debug.c,v 1.9 2002/01/22 20:41:22 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990, 1993, 1994
|
||||
@ -41,12 +41,10 @@
|
||||
#if 0
|
||||
static char sccsid[] = "@(#)bt_debug.c 8.5 (Berkeley) 8/17/94";
|
||||
#else
|
||||
__RCSID("$NetBSD: bt_debug.c,v 1.8 2002/01/12 11:27:16 aymeric Exp $");
|
||||
__RCSID("$NetBSD: bt_debug.c,v 1.9 2002/01/22 20:41:22 thorpej Exp $");
|
||||
#endif
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
#include <sys/param.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: bt_open.c,v 1.13 1998/12/09 12:42:46 christos Exp $ */
|
||||
/* $NetBSD: bt_open.c,v 1.14 2002/01/22 20:41:22 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990, 1993, 1994
|
||||
@ -41,7 +41,7 @@
|
||||
#if 0
|
||||
static char sccsid[] = "@(#)bt_open.c 8.10 (Berkeley) 8/17/94";
|
||||
#else
|
||||
__RCSID("$NetBSD: bt_open.c,v 1.13 1998/12/09 12:42:46 christos Exp $");
|
||||
__RCSID("$NetBSD: bt_open.c,v 1.14 2002/01/22 20:41:22 thorpej Exp $");
|
||||
#endif
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
@ -54,7 +54,6 @@ __RCSID("$NetBSD: bt_open.c,v 1.13 1998/12/09 12:42:46 christos Exp $");
|
||||
*/
|
||||
|
||||
#include "namespace.h"
|
||||
#include <sys/param.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include <errno.h>
|
||||
@ -400,7 +399,7 @@ tmp()
|
||||
sigset_t set, oset;
|
||||
int fd;
|
||||
char *envtmp;
|
||||
char path[MAXPATHLEN];
|
||||
char path[PATH_MAX];
|
||||
|
||||
envtmp = getenv("TMPDIR");
|
||||
(void)snprintf(path,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: mpool.c,v 1.12 2000/01/22 22:19:08 mycroft Exp $ */
|
||||
/* $NetBSD: mpool.c,v 1.13 2002/01/22 20:41:22 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990, 1993, 1994
|
||||
@ -38,12 +38,11 @@
|
||||
#if 0
|
||||
static char sccsid[] = "@(#)mpool.c 8.5 (Berkeley) 7/26/94";
|
||||
#else
|
||||
__RCSID("$NetBSD: mpool.c,v 1.12 2000/01/22 22:19:08 mycroft Exp $");
|
||||
__RCSID("$NetBSD: mpool.c,v 1.13 2002/01/22 20:41:22 thorpej Exp $");
|
||||
#endif
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
#include "namespace.h"
|
||||
#include <sys/param.h>
|
||||
#include <sys/queue.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user