Browse Source

change size parameter to size_t

OPENBSD_2_4
deraadt 27 years ago
parent
commit
66a7ec9bc7
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      src/include/unistd.h

+ 5
- 5
src/include/unistd.h View File

@ -1,4 +1,4 @@
/* $OpenBSD: unistd.h,v 1.20 1998/04/25 07:14:50 deraadt Exp $ */
/* $OpenBSD: unistd.h,v 1.21 1998/05/13 08:50:52 deraadt Exp $ */
/* $NetBSD: unistd.h,v 1.26.4.1 1996/05/28 02:31:51 mrg Exp $ */ /* $NetBSD: unistd.h,v 1.26.4.1 1996/05/28 02:31:51 mrg Exp $ */
/*- /*-
@ -118,11 +118,11 @@ int fchdir __P((int));
int fchown __P((int, uid_t, gid_t)); int fchown __P((int, uid_t, gid_t));
int fsync __P((int)); int fsync __P((int));
int ftruncate __P((int, off_t)); int ftruncate __P((int, off_t));
int getdomainname __P((char *, int));
int getdomainname __P((char *, size_t));
int getdtablesize __P((void)); int getdtablesize __P((void));
int getgrouplist __P((const char *, gid_t, gid_t *, int *)); int getgrouplist __P((const char *, gid_t, gid_t *, int *));
long gethostid __P((void)); long gethostid __P((void));
int gethostname __P((char *, int));
int gethostname __P((char *, size_t));
mode_t getmode __P((const void *, mode_t)); mode_t getmode __P((const void *, mode_t));
int getpagesize __P((void)); int getpagesize __P((void));
char *getpass __P((const char *)); char *getpass __P((const char *));
@ -156,12 +156,12 @@ char *sbrk __P((int));
#ifndef _XOPEN_SOURCE #ifndef _XOPEN_SOURCE
int select __P((int, fd_set *, fd_set *, fd_set *, struct timeval *)); int select __P((int, fd_set *, fd_set *, fd_set *, struct timeval *));
#endif #endif
int setdomainname __P((const char *, int));
int setdomainname __P((const char *, size_t));
int setegid __P((gid_t)); int setegid __P((gid_t));
int seteuid __P((uid_t)); int seteuid __P((uid_t));
int setgroups __P((int, const gid_t *)); int setgroups __P((int, const gid_t *));
int sethostid __P((long)); int sethostid __P((long));
int sethostname __P((const char *, int));
int sethostname __P((const char *, size_t));
int setkey __P((const char *)); int setkey __P((const char *));
int setlogin __P((const char *)); int setlogin __P((const char *));
void *setmode __P((const char *)); void *setmode __P((const char *));


Loading…
Cancel
Save