diff options
author | jake <jake@FreeBSD.org> | 2000-05-26 02:09:24 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2000-05-26 02:09:24 +0000 |
commit | 961b97d43458f3c57241940cabebb3bedf7e4c00 (patch) | |
tree | 6014972d9b90b4e3a8b20dbea641a88cf6355c13 /lib/libncp | |
parent | 06b64672180d9b04ae6d35db819c854df3c3c684 (diff) | |
download | FreeBSD-src-961b97d43458f3c57241940cabebb3bedf7e4c00.zip FreeBSD-src-961b97d43458f3c57241940cabebb3bedf7e4c00.tar.gz |
Back out the previous change to the queue(3) interface.
It was not discussed and should probably not happen.
Requested by: msmith and others
Diffstat (limited to 'lib/libncp')
-rw-r--r-- | lib/libncp/ncpl_rcfile.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libncp/ncpl_rcfile.c b/lib/libncp/ncpl_rcfile.c index f218655..7a69071 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; } |