From owner-freebsd-bluetooth@FreeBSD.ORG Sun Oct 4 18:26:57 2009 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 50E99106566B for ; Sun, 4 Oct 2009 18:26:57 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from mail-px0-f192.google.com (mail-px0-f192.google.com [209.85.216.192]) by mx1.freebsd.org (Postfix) with ESMTP id 27AC08FC12 for ; Sun, 4 Oct 2009 18:26:56 +0000 (UTC) Received: by pxi30 with SMTP id 30so3544787pxi.7 for ; Sun, 04 Oct 2009 11:26:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=oOJS+BCOfKk9uEGzZYuwZcs8ETF+QUEK8kigRqSAXao=; b=cPxEdUAgnpofow5KgkWRLL0Gv4mudyuxhZOqMvyfr7pwgXVerwqznmOMyhrI1IdN+K WPGnz/ToUbU3RSHOkq7A2/kedD58Qm65TtESz0IhbmjT7SlozGwIoLH5lceqCu93ZPB9 87Wxb4zDczOt/oZuwD3I/BmyU7MS770kllz2U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=YnoFUgmYQ7DYuqJK+WcRnsDPPzrW1PXuAsoYnNkp72dbvuT7Svt3EJ4pXLvZNSWNq5 /EK7vmKjiDUuCM7zM9WC9pwg719erNt3T/TCt54u821UDIeZE0bw/K0vJB8UR+UGFJZD UgxfqN+pce7dleOBNp0l+MCiJ98xvJvUXyUGQ= MIME-Version: 1.0 Received: by 10.115.80.14 with SMTP id h14mr4999608wal.133.1254680816606; Sun, 04 Oct 2009 11:26:56 -0700 (PDT) In-Reply-To: References: Date: Sun, 4 Oct 2009 11:26:56 -0700 Message-ID: From: Maksim Yevmenkin To: Masoom Shaikh Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-bluetooth@freebsd.org Subject: Re: bluetooth.h, c++ include error X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Oct 2009 18:26:57 -0000 On Sun, Oct 4, 2009 at 10:42 AM, Masoom Shaikh wrote: > posting here after @current and @questions ignored > > Hello, > > while going through bluetooth.h, I observed > > int bt_devfilter(int s, struct bt_devfilter const *new, struct bt_devfilter > *old); > > this line appears in bluetooth.h @ line # 166, rv197571 > > see ? the variable named 'new' will cause trouble to c++ source files > i honestly believe this is not intentional, c++ programmers will have to > perform some acrobats to get past this patches are welcome thanks, max