diff options
author | jake <jake@FreeBSD.org> | 2000-05-23 20:41:01 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2000-05-23 20:41:01 +0000 |
commit | d93fbc99166053b75c2eeb69b5cb603cfaf79ec0 (patch) | |
tree | a4f130be4544ce7cfe4afa8c93f996b871433cb8 /sys/netncp/ncp_rcfile.h | |
parent | e814d2a0db522b0f163eef55a56d05aa226951f3 (diff) | |
download | FreeBSD-src-d93fbc99166053b75c2eeb69b5cb603cfaf79ec0.zip FreeBSD-src-d93fbc99166053b75c2eeb69b5cb603cfaf79ec0.tar.gz |
Change the way that the queue(3) structures are declared; don't assume that
the type argument to *_HEAD and *_ENTRY is a struct.
Suggested by: phk
Reviewed by: phk
Approved by: mdodd
Diffstat (limited to 'sys/netncp/ncp_rcfile.h')
-rw-r--r-- | sys/netncp/ncp_rcfile.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/netncp/ncp_rcfile.h b/sys/netncp/ncp_rcfile.h index 815b8dd..dcebb3a 100644 --- a/sys/netncp/ncp_rcfile.h +++ b/sys/netncp/ncp_rcfile.h @@ -36,20 +36,20 @@ #include <sys/queue.h> struct rckey { - SLIST_ENTRY(rckey) rk_next; + SLIST_ENTRY(struct rckey) rk_next; char *rk_name; char *rk_value; }; struct rcsection { - SLIST_ENTRY(rcsection) rs_next; - SLIST_HEAD(rckey_head,rckey) rs_keys; + SLIST_ENTRY(struct rcsection) rs_next; + SLIST_HEAD(rckey_head, struct rckey) rs_keys; char *rs_name; }; struct rcfile { - SLIST_ENTRY(rcfile) rf_next; - SLIST_HEAD(rcsec_head, rcsection) rf_sect; + SLIST_ENTRY(struct rcfile) rf_next; + SLIST_HEAD(rcsec_head, struct rcsection) rf_sect; char *rf_name; FILE *rf_f; }; |