diff options
| author | Jake Burkholder <jake@FreeBSD.org> | 2000-05-23 20:41:01 +0000 |
|---|---|---|
| committer | Jake Burkholder <jake@FreeBSD.org> | 2000-05-23 20:41:01 +0000 |
| commit | 740a1973a62eaa8e1dc23e22f84dacb3346d303a (patch) | |
| tree | acf054a865eef37380f5ac3d3c07766b5bb234b0 /lib/libncp | |
| parent | b4183771fd8ab7a5946fd38df04c1e24b1268bea (diff) | |
Notes
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 7a69071be752..f218655eb66b 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, rcfile); +SLIST_HEAD(rcfile_head, struct 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, rcfile, rf_next); + SLIST_REMOVE(&pf_head, rcp, struct 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,rckey,rk_next); + SLIST_REMOVE(&rsp->rs_keys,p,struct rckey,rk_next); rc_key_free(p); return; } |
