diff options
author | Ray Lai <ray@cvs.openbsd.org> | 2006-03-23 02:21:34 +0000 |
---|---|---|
committer | Ray Lai <ray@cvs.openbsd.org> | 2006-03-23 02:21:34 +0000 |
commit | 0b992c026aad07f04bcbdb76f548adfa251a455d (patch) | |
tree | ea2ef7cebf8021d3531418828c0ce91f5478c2bc /usr.bin | |
parent | 3d88e32cdf17782b0ecf60c38cba19b613d980b6 (diff) |
Use TAILQ_HEAD() macro instead of custom struct definition.
From Pierre-Yves Ritschard.
OK xsa@
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/cvs/rcs.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/usr.bin/cvs/rcs.h b/usr.bin/cvs/rcs.h index c889eb1ae3a..f41556073cf 100644 --- a/usr.bin/cvs/rcs.h +++ b/usr.bin/cvs/rcs.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rcs.h,v 1.49 2006/03/09 10:56:33 xsa Exp $ */ +/* $OpenBSD: rcs.h,v 1.50 2006/03/23 02:21:33 ray Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -168,10 +168,7 @@ struct rcs_branch { TAILQ_ENTRY(rcs_branch) rb_list; }; -struct rcs_dlist { - struct rcs_delta *tqh_first; - struct rcs_delta **tqh_last; -}; +TAILQ_HEAD(rcs_dlist, rcs_delta); struct rcs_delta { RCSNUM *rd_num; |