summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_descrip.c
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2012-06-15 10:00:29 +0000
committerpjd <pjd@FreeBSD.org>2012-06-15 10:00:29 +0000
commit144a7f643e622e83909cec2f65fbffbfd1365293 (patch)
tree8a4b5061d2df3eb0636b08a345e213d836eb625e /sys/kern/kern_descrip.c
parentab30d1b3868ed699e72ae05f06b67565985c27bf (diff)
downloadFreeBSD-src-144a7f643e622e83909cec2f65fbffbfd1365293.zip
FreeBSD-src-144a7f643e622e83909cec2f65fbffbfd1365293.tar.gz
One more attempt to make prototypes formated according to style(9), which
holefully recovers from the "worse than useless" state. Reported by: bde MFC after: 1 month
Diffstat (limited to 'sys/kern/kern_descrip.c')
-rw-r--r--sys/kern/kern_descrip.c31
1 files changed, 16 insertions, 15 deletions
diff --git a/sys/kern/kern_descrip.c b/sys/kern/kern_descrip.c
index 6c1a53f..fea1eb7 100644
--- a/sys/kern/kern_descrip.c
+++ b/sys/kern/kern_descrip.c
@@ -114,21 +114,22 @@ static uma_zone_t file_zone;
#define DUP_FIXED 0x1 /* Force fixed allocation */
#define DUP_FCNTL 0x2 /* fcntl()-style errors */
-static int closefp(struct filedesc *fdp, int fd, struct file *fp,
- struct thread *td, int holdleaders);
-static int do_dup(struct thread *td, int flags, int old, int new,
- register_t *retval);
-static int fd_first_free(struct filedesc *fdp, int low, int size);
-static int fd_last_used(struct filedesc *fdp, int size);
-static void fdgrowtable(struct filedesc *fdp, int nfd);
-static void fdunused(struct filedesc *fdp, int fd);
-static void fdused(struct filedesc *fdp, int fd);
-static int fill_pipe_info(struct pipe *pi, struct kinfo_file *kif);
-static int fill_procdesc_info(struct procdesc *pdp, struct kinfo_file *kif);
-static int fill_pts_info(struct tty *tp, struct kinfo_file *kif);
-static int fill_shm_info(struct file *fp, struct kinfo_file *kif);
-static int fill_socket_info(struct socket *so, struct kinfo_file *kif);
-static int fill_vnode_info(struct vnode *vp, struct kinfo_file *kif);
+static int closefp(struct filedesc *fdp, int fd, struct file *fp,
+ struct thread *td, int holdleaders);
+static int do_dup(struct thread *td, int flags, int old, int new,
+ register_t *retval);
+static int fd_first_free(struct filedesc *fdp, int low, int size);
+static int fd_last_used(struct filedesc *fdp, int size);
+static void fdgrowtable(struct filedesc *fdp, int nfd);
+static void fdunused(struct filedesc *fdp, int fd);
+static void fdused(struct filedesc *fdp, int fd);
+static int fill_pipe_info(struct pipe *pi, struct kinfo_file *kif);
+static int fill_procdesc_info(struct procdesc *pdp,
+ struct kinfo_file *kif);
+static int fill_pts_info(struct tty *tp, struct kinfo_file *kif);
+static int fill_shm_info(struct file *fp, struct kinfo_file *kif);
+static int fill_socket_info(struct socket *so, struct kinfo_file *kif);
+static int fill_vnode_info(struct vnode *vp, struct kinfo_file *kif);
/*
* A process is initially started out with NDFILE descriptors stored within
OpenPOWER on IntegriCloud