diff options
author | davidxu <davidxu@FreeBSD.org> | 2005-12-09 02:38:29 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2005-12-09 02:38:29 +0000 |
commit | 459600a8d3427eb066b5961691632891478ad373 (patch) | |
tree | 6247a68232475fc26b2a9e64b7a8bfb7548bc316 /sys | |
parent | c0c32b144f9d6c5dcf7ce45fca097d9444049d58 (diff) | |
download | FreeBSD-src-459600a8d3427eb066b5961691632891478ad373.zip FreeBSD-src-459600a8d3427eb066b5961691632891478ad373.tar.gz |
Comment out mqfs_create_link. Inline some small functions.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/uipc_mqueue.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/uipc_mqueue.c b/sys/kern/uipc_mqueue.c index adb5bb5..0e38e31 100644 --- a/sys/kern/uipc_mqueue.c +++ b/sys/kern/uipc_mqueue.c @@ -219,12 +219,12 @@ static struct fileops mqueueops; #ifdef notyet static struct mqfs_node *mqfs_create_dir(struct mqfs_node *parent, const char *name, int namelen); +static struct mqfs_node *mqfs_create_link(struct mqfs_node *parent, + const char *name, int namelen); #endif static struct mqfs_node *mqfs_create_file(struct mqfs_node *parent, const char *name, int namelen); -struct mqfs_node *mqfs_create_link(struct mqfs_node *parent, - const char *name, int namelen); static int mqfs_destroy(struct mqfs_node *mn); static void mqfs_fileno_alloc(struct mqfs_info *mi, struct mqfs_node *mn); static void mqfs_fileno_free(struct mqfs_info *mi, struct mqfs_node *mn); @@ -1845,13 +1845,13 @@ notifier_search(struct proc *p, int fd) return (nt); } -static void +static __inline void notifier_insert(struct proc *p, struct mqueue_notifier *nt) { LIST_INSERT_HEAD(&p->p_mqnotifier, nt, nt_link); } -static void +static __inline void notifier_delete(struct proc *p, struct mqueue_notifier *nt) { LIST_REMOVE(nt, nt_link); |