mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
Add qsort prototype.
Add userland_sysctl prototype.
This commit is contained in:
parent
a95f76aa8c
commit
a4cc272814
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=12170
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)libkern.h 8.1 (Berkeley) 6/10/93
|
||||
* $Id: libkern.h,v 1.6 1995/03/16 18:12:58 bde Exp $
|
||||
* $Id: libkern.h,v 1.7 1995/04/23 08:05:25 bde Exp $
|
||||
*/
|
||||
|
||||
#include <sys/types.h>
|
||||
@ -63,3 +63,5 @@ char *strcpy __P((char *, const char *));
|
||||
size_t strlen __P((const char *));
|
||||
int strncmp __P((const char *, const char *, size_t));
|
||||
char *strncpy __P((char *, const char *, size_t));
|
||||
void qsort(void *base, size_t nmemb, size_t size, int (*compar)(const void *, const void *));
|
||||
|
||||
|
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)sysctl.h 8.1 (Berkeley) 6/2/93
|
||||
* $Id: sysctl.h,v 1.28 1995/11/06 16:18:29 phk Exp $
|
||||
* $Id: sysctl.h,v 1.29 1995/11/08 08:48:36 phk Exp $
|
||||
*/
|
||||
|
||||
#ifndef _SYS_SYSCTL_H_
|
||||
@ -369,6 +369,7 @@ extern char machine[];
|
||||
extern char osrelease[];
|
||||
extern char ostype[];
|
||||
|
||||
int userland_sysctl(struct proc *p, int *name, u_int namelen, void *old, size_t *oldlenp, int inkernel, void *new, size_t newlen, int *retval);
|
||||
/*
|
||||
* Internal sysctl function calling convention:
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user