From 0b992c026aad07f04bcbdb76f548adfa251a455d Mon Sep 17 00:00:00 2001 From: Ray Lai Date: Thu, 23 Mar 2006 02:21:34 +0000 Subject: Use TAILQ_HEAD() macro instead of custom struct definition. From Pierre-Yves Ritschard. OK xsa@ --- usr.bin/cvs/rcs.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'usr.bin') 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 * 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; -- cgit v1.2.3