Add forward-declaration of struct linker_set, to fix a few warnings.

This commit is contained in:
Dmitrij Tejblum 1999-02-28 17:38:28 +00:00
parent a32cf1f06d
commit 746503ee29
1 changed files with 3 additions and 1 deletions

View File

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)sysctl.h 8.1 (Berkeley) 6/2/93
* $Id: sysctl.h,v 1.70 1999/01/10 07:45:27 phk Exp $
* $Id: sysctl.h,v 1.71 1999/02/16 10:49:55 dfr Exp $
*/
#ifndef _SYS_SYSCTL_H_
@ -485,6 +485,8 @@ extern char machine[];
extern char osrelease[];
extern char ostype[];
struct linker_set;
void sysctl_register_set(struct linker_set *lsp);
void sysctl_unregister_set(struct linker_set *lsp);
int kernel_sysctl(struct proc *p, int *name, u_int namelen, void *old,