mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-19 02:29:40 +00:00
Make profil() 64bit-safe for alpha.
uintfptr_t may be better for offset, but we must wait until the definition of uintfptr_t moves from machine/profile.h. Reviewed by: bde
This commit is contained in:
parent
9b21395a95
commit
f2fd63aff2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=48835
@ -156,7 +156,7 @@ char *mktemp __P((char *));
|
||||
int nfssvc __P((int, void *));
|
||||
int nice __P((int));
|
||||
ssize_t pread __P((int, void *, size_t, off_t));
|
||||
int profil __P((char *, int, int, int));
|
||||
int profil __P((char *, size_t, vm_offset_t, int));
|
||||
ssize_t pwrite __P((int, const void *, size_t, off_t));
|
||||
int rcmd __P((char **, int, const char *,
|
||||
const char *, const char *, int *));
|
||||
|
@ -33,7 +33,7 @@
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" @(#)profil.2 8.1 (Berkeley) 6/4/93
|
||||
.\" $Id: profil.2,v 1.6 1997/04/11 18:47:07 bde Exp $
|
||||
.\" $Id: profil.2,v 1.7 1997/06/23 04:02:01 steve Exp $
|
||||
.\"
|
||||
.Dd June 4, 1993
|
||||
.Dt PROFIL 2
|
||||
@ -44,7 +44,7 @@
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <unistd.h>
|
||||
.Ft int
|
||||
.Fn profil "char *samples" "int size" "int offset" "int scale"
|
||||
.Fn profil "char *samples" "size_t size" "vm_offset_t offset" "int scale"
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
.Fn profil
|
||||
|
Loading…
Reference in New Issue
Block a user