From owner-cvs-src@FreeBSD.ORG Wed Aug 13 11:37:26 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 490F037B401; Wed, 13 Aug 2003 11:37:26 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D454543FAF; Wed, 13 Aug 2003 11:37:25 -0700 (PDT) (envelope-from bmilekic@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h7DIbP0U055263; Wed, 13 Aug 2003 11:37:25 -0700 (PDT) (envelope-from bmilekic@repoman.freebsd.org) Received: (from bmilekic@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h7DIbPnC055260; Wed, 13 Aug 2003 11:37:25 -0700 (PDT) Message-Id: <200308131837.h7DIbPnC055260@repoman.freebsd.org> From: Bosko Milekic Date: Wed, 13 Aug 2003 11:37:25 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/sys queue.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Aug 2003 18:37:26 -0000 bmilekic 2003/08/13 11:37:25 PDT FreeBSD src repository Modified files: sys/sys queue.h Log: Add LIST_FOREACH_SAFE, which is like LIST_FOREACH but allows you to walk the list and remove the current item and destroy/free it. Alexander Kabaev will likely do the equivalent for the other list types, but I just happened to have this one sitting in a local non-FreeBSD tree already. Revision Changes Path 1.55 +7 -0 src/sys/sys/queue.h