Add qsort prototype.

Add userland_sysctl prototype.
This commit is contained in:
phk 1995-11-09 20:20:03 +00:00
parent a4444a92b7
commit 32a0e55b55
2 changed files with 5 additions and 2 deletions

View File

@ -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 *));

View File

@ -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:
*