From owner-freebsd-hackers@FreeBSD.ORG Tue Oct 17 13:48:42 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 412EE16A412 for ; Tue, 17 Oct 2006 13:48:42 +0000 (UTC) (envelope-from rosmir@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2106043D86 for ; Tue, 17 Oct 2006 13:48:38 +0000 (GMT) (envelope-from rosmir@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so916479uge for ; Tue, 17 Oct 2006 06:48:38 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=LFBHo0FFIkAMHoy9L8tnVM+WNIo49s6uxvPumUzqgSnMU85nJGN/A2buBhJ8uF/NIauOu7U1JSR3qlHqSGzLZCG0IBFZQaHuNOxF/A2lhyd7EPJv0sD/li/07es9RYcTGxOv84GNm85sjnjFS8nnDpOEEQKdGbwg5S0J/dQgBfA= Received: by 10.78.188.19 with SMTP id l19mr9330654huf; Tue, 17 Oct 2006 06:48:37 -0700 (PDT) Received: by 10.78.116.5 with HTTP; Tue, 17 Oct 2006 06:48:37 -0700 (PDT) Message-ID: <9c6e52b10610170648x20222494ncfebdac21e1f0f99@mail.gmail.com> Date: Tue, 17 Oct 2006 17:48:37 +0400 From: "Stepan A. Baranov" To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: delete 2 macros from queue.h X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Oct 2006 13:48:42 -0000 Hello, I made the Russian translation of queue(3) and found out that in sys/sys/queue.h there are macros SLIST_FOREACH_PREVPTR and STAILQ_REMOVE_HEAD_UNTIL which are not described in queue(3). The macros SLIST_FOREACH_PREVPTR is used only in sys/kern/sysv_sem.c and the macros STAILQ_REMOVE_HEAD_UNTIL is used only in sys/dev/ubsec/ubsec.c . Thus, I think that these macros must be described in queue(3) or be deleted. I made the patch for removing such macros from sys/sys/queue.h . The patch can be fetched from http://www.rosmir.org/freebsd/patches/patch-queue . Please, test it and fix it. Stepan Baranov.