aboutsummaryrefslogtreecommitdiff
path: root/lib/libncp/ncpl_rcfile.c
diff options
context:
space:
mode:
authorJake Burkholder <jake@FreeBSD.org>2000-05-26 02:09:24 +0000
committerJake Burkholder <jake@FreeBSD.org>2000-05-26 02:09:24 +0000
commite39756439c7255bc16ba14b7b991cb01ba1c93bd (patch)
tree112dfed9c5841280f457e0dca97e8de49e04ecd9 /lib/libncp/ncpl_rcfile.c
parent13c6acf19de074f64f9ff031a2e5e660c7957fd2 (diff)
downloadsrc-e39756439c7255bc16ba14b7b991cb01ba1c93bd.tar.gz
src-e39756439c7255bc16ba14b7b991cb01ba1c93bd.zip
Back out the previous change to the queue(3) interface.
It was not discussed and should probably not happen. Requested by: msmith and others
Notes
Notes: svn path=/head/; revision=60938
Diffstat (limited to 'lib/libncp/ncpl_rcfile.c')
-rw-r--r--lib/libncp/ncpl_rcfile.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libncp/ncpl_rcfile.c b/lib/libncp/ncpl_rcfile.c
index f218655eb66b..7a69071be752 100644
--- a/lib/libncp/ncpl_rcfile.c
+++ b/lib/libncp/ncpl_rcfile.c
@@ -49,7 +49,7 @@
struct rcfile *ncp_rc = NULL;
-SLIST_HEAD(rcfile_head, struct rcfile);
+SLIST_HEAD(rcfile_head, rcfile);
static struct rcfile_head pf_head = {NULL};
int rc_merge(char *filename,struct rcfile **rcfile);
@@ -123,7 +123,7 @@ rc_close(struct rcfile *rcp) {
rc_sect_free(n);
}
free(rcp->rf_name);
- SLIST_REMOVE(&pf_head, rcp, struct rcfile, rf_next);
+ SLIST_REMOVE(&pf_head, rcp, rcfile, rf_next);
free(rcp);
return 0;
}
@@ -206,7 +206,7 @@ rc_sect_addkey(struct rcsection *rsp, char *name, char *value) {
void
rc_sect_delkey(struct rcsection *rsp, struct rckey *p) {
- SLIST_REMOVE(&rsp->rs_keys,p,struct rckey,rk_next);
+ SLIST_REMOVE(&rsp->rs_keys,p,rckey,rk_next);
rc_key_free(p);
return;
}