summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorcgd <cgd@NetBSD.org>1995-11-22 23:07:19 +0000
committercgd <cgd@NetBSD.org>1995-11-22 23:07:19 +0000
commita2ce90f34cea56cf2957ac04a4e89f3fedd8ad27 (patch)
treeb8f2d36cc5a1d3eff12f987c3bde8faee049d4fb /include
parent895c6508ee01716df546c7b161a1ec4359f58c4e (diff)
change definition of profil() to make it 64-bit friendly. This has
no practical consequence on 32-bit systems. old prototype was int profil(char *, int, int, int), and new one is int profile(char *, size_t, u_long, u_int). the size_t is the size of the buffer, and the u_long is the 'starting offset'. (I changed the last int to u_int, because it's treated as a u_int everywhere, and isn't logically a signed value.)
Diffstat (limited to 'include')
-rw-r--r--include/unistd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/unistd.h b/include/unistd.h
index 19e11f7ac52..029171187f9 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -1,4 +1,4 @@
-/* $NetBSD: unistd.h,v 1.25 1995/03/19 22:51:38 mycroft Exp $ */
+/* $NetBSD: unistd.h,v 1.26 1995/11/22 23:07:19 cgd Exp $ */
/*-
* Copyright (c) 1991 The Regents of the University of California.
@@ -135,7 +135,7 @@ int nfssvc __P((int, void *));
int nice __P((int));
void psignal __P((unsigned int, const char *));
extern __const char *__const sys_siglist[];
-int profil __P((char *, int, int, int));
+int profil __P((char *, size_t, u_long, u_int));
int rcmd __P((char **, int, const char *,
const char *, const char *, int *));
char *re_comp __P((const char *));