summaryrefslogtreecommitdiffstats
path: root/sys/sys/filedesc.h
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-03-16 18:17:34 +0000
committerbde <bde@FreeBSD.org>1995-03-16 18:17:34 +0000
commit289f11acb49b6dbb3081e09bf94a86f008f55814 (patch)
treee4952f18ac85eccbbd3d9b0f010098732d07fe6d /sys/sys/filedesc.h
parent4c4945abee9eabe3a2be340ba973ae861c21a3c6 (diff)
downloadFreeBSD-src-289f11acb49b6dbb3081e09bf94a86f008f55814.zip
FreeBSD-src-289f11acb49b6dbb3081e09bf94a86f008f55814.tar.gz
Add and move declarations to fix all of the warnings from `gcc -Wimplicit'
(except in netccitt, netiso and netns) and most of the warnings from `gcc -Wnested-externs'. Fix all the bugs found. There were no serious ones.
Diffstat (limited to 'sys/sys/filedesc.h')
-rw-r--r--sys/sys/filedesc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sys/filedesc.h b/sys/sys/filedesc.h
index abaf880..258695f 100644
--- a/sys/sys/filedesc.h
+++ b/sys/sys/filedesc.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)filedesc.h 8.1 (Berkeley) 6/2/93
- * $Id: filedesc.h,v 1.3 1994/08/21 04:41:46 paul Exp $
+ * $Id: filedesc.h,v 1.4 1994/10/02 17:24:44 phk Exp $
*/
#ifndef _SYS_FILEDESC_H_
@@ -95,6 +95,7 @@ struct filedesc0 {
/*
* Kernel global variables and routines.
*/
+int dupfdopen __P((struct filedesc *, int, int, int, int));
int fdalloc __P((struct proc *p, int want, int *result));
int fdavail __P((struct proc *p, int n));
int falloc __P((struct proc *p, struct file **resultfp, int *resultfd));
OpenPOWER on IntegriCloud