From b624ddd42093f5eb9104e8e66da8b702e2d56476 Mon Sep 17 00:00:00 2001 From: bde Date: Fri, 9 Apr 1999 15:06:56 +0000 Subject: [PATCH] Declare mkstemps(). --- include/kvm.h | 9 +++++---- include/unistd.h | 1 + lib/libkvm/kvm.h | 9 +++++---- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/include/kvm.h b/include/kvm.h index 85476b7e86d9..4213dd5a38a0 100644 --- a/include/kvm.h +++ b/include/kvm.h @@ -31,19 +31,20 @@ * SUCH DAMAGE. * * @(#)kvm.h 8.1 (Berkeley) 6/2/93 - * $Id: kvm.h,v 1.7 1999/01/23 04:58:35 dillon Exp $ + * $Id: kvm.h,v 1.8 1999/01/27 11:29:15 bde Exp $ */ #ifndef _KVM_H_ #define _KVM_H_ +#include +#include +#include + /* Default version symbol. */ #define VRS_SYM "_version" #define VRS_KEY "VERSION" -#include -#include - #ifdef _BSD_SIZE_T_ typedef _BSD_SIZE_T_ size_t; #undef _BSD_SIZE_T_ diff --git a/include/unistd.h b/include/unistd.h index e320c15319fd..5ea6727a17ac 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -151,6 +151,7 @@ int lockf __P((int, int, off_t)); char *mkdtemp __P((char *)); int mknod __P((const char *, mode_t, dev_t)); int mkstemp __P((char *)); +int mkstemps __P((char *, int)); char *mktemp __P((char *)); int nfssvc __P((int, void *)); int nice __P((int)); diff --git a/lib/libkvm/kvm.h b/lib/libkvm/kvm.h index 85476b7e86d9..4213dd5a38a0 100644 --- a/lib/libkvm/kvm.h +++ b/lib/libkvm/kvm.h @@ -31,19 +31,20 @@ * SUCH DAMAGE. * * @(#)kvm.h 8.1 (Berkeley) 6/2/93 - * $Id: kvm.h,v 1.7 1999/01/23 04:58:35 dillon Exp $ + * $Id: kvm.h,v 1.8 1999/01/27 11:29:15 bde Exp $ */ #ifndef _KVM_H_ #define _KVM_H_ +#include +#include +#include + /* Default version symbol. */ #define VRS_SYM "_version" #define VRS_KEY "VERSION" -#include -#include - #ifdef _BSD_SIZE_T_ typedef _BSD_SIZE_T_ size_t; #undef _BSD_SIZE_T_