Move declaration of seltrue_kqfilter() to conf.h, where it's needed.
This commit is contained in:
parent
ae0a442af3
commit
253ada188c
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: conf.h,v 1.127 2007/07/09 21:11:32 ad Exp $ */
|
||||
/* $NetBSD: conf.h,v 1.128 2007/07/21 19:20:39 ad Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990, 1993
|
||||
|
@ -210,6 +210,7 @@ int ttyerrpoll (struct tty *, int, struct lwp *);
|
|||
int ttynullioctl(struct tty *, u_long, void *, int, struct lwp *);
|
||||
|
||||
int iskmemdev(dev_t);
|
||||
int seltrue_kqfilter(dev_t, struct knote *);
|
||||
#endif
|
||||
|
||||
#ifdef _KERNEL
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: event.h,v 1.17 2005/12/11 12:25:20 christos Exp $ */
|
||||
/* $NetBSD: event.h,v 1.18 2007/07/21 19:20:40 ad Exp $ */
|
||||
/*-
|
||||
* Copyright (c) 1999,2000,2001 Jonathan Lemon <jlemon@FreeBSD.org>
|
||||
* All rights reserved.
|
||||
|
@ -228,7 +228,6 @@ int kfilter_register(const char *, const struct filterops *, int *);
|
|||
int kfilter_unregister(const char *);
|
||||
|
||||
int filt_seltrue(struct knote *, long);
|
||||
int seltrue_kqfilter(dev_t, struct knote *);
|
||||
|
||||
#else /* !_KERNEL */
|
||||
|
||||
|
|
Loading…
Reference in New Issue