Back out the s/int */size_t */ commit.
It makes a difference on 64-bit arches, and no one really wants a 2^64 block size [yet].
This commit is contained in:
parent
fb5506762d
commit
c2e55537ec
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=108445
@ -227,7 +227,7 @@ __uint32_t
|
||||
arc4random(void);
|
||||
void arc4random_addrandom(unsigned char *dat, int datlen);
|
||||
void arc4random_stir(void);
|
||||
char *getbsize(size_t *, long *);
|
||||
char *getbsize(int *, long *);
|
||||
/* getcap(3) functions */
|
||||
char *cgetcap(char *, const char *, int);
|
||||
int cgetclose(void);
|
||||
|
@ -43,7 +43,7 @@
|
||||
.Sh SYNOPSIS
|
||||
.In stdlib.h
|
||||
.Ft char *
|
||||
.Fn getbsize "size_t *headerlenp" "long *blocksizep"
|
||||
.Fn getbsize "int *headerlenp" "long *blocksizep"
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
.Fn getbsize
|
||||
|
@ -44,7 +44,7 @@ __FBSDID("$FreeBSD$");
|
||||
|
||||
char *
|
||||
getbsize(headerlenp, blocksizep)
|
||||
size_t *headerlenp;
|
||||
int *headerlenp;
|
||||
long *blocksizep;
|
||||
{
|
||||
static char header[20];
|
||||
|
Loading…
Reference in New Issue
Block a user