From owner-freebsd-net@FreeBSD.ORG Fri Mar 21 15:23:13 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 65620EC7 for ; Fri, 21 Mar 2014 15:23:13 +0000 (UTC) Received: from mail-la0-x232.google.com (mail-la0-x232.google.com [IPv6:2a00:1450:4010:c03::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D4CFA936 for ; Fri, 21 Mar 2014 15:23:12 +0000 (UTC) Received: by mail-la0-f50.google.com with SMTP id y1so1734501lam.23 for ; Fri, 21 Mar 2014 08:23:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=SMWJLHbyCSgG8y+BY20MXybosbQTMPTOJfGVC0A/KoU=; b=At5jslLY/wWEKRQP+GnDBtMzW9Ys1usnHFlowd/MwR81109CW80B4xUPJecBi7IMzO 8Q3XeiEniCApKkHMgYvZqJeEz2dWf1QuzaGYfSxst0YeP3LrPHPTfqaKOi5+L3f2+WzV pqvsYFhaecog8M+rYVCX7dmuSyDIMOZ81ewXaNcJ3sgCKCKGF3LEIhtREXpVzJrGzWEh 6hier4F8hEMo8nwKO31SlvvM0lUVW+DpBv8cHX89+MimOMkCRF8JBy4yA/KbpCBX/98g eU2RE7MnEJnHqc4+9Y0zQskK2kTO2+oiyOO730CucR+xsFbHaeStqHOArdlHu4ATeEjK xOhw== MIME-Version: 1.0 X-Received: by 10.112.46.225 with SMTP id y1mr32501210lbm.12.1395415390925; Fri, 21 Mar 2014 08:23:10 -0700 (PDT) Sender: rizzo.unipi@gmail.com Received: by 10.114.200.107 with HTTP; Fri, 21 Mar 2014 08:23:10 -0700 (PDT) In-Reply-To: <20140321144832.52746.qmail@f5-external.bushwire.net> References: <20140321144832.52746.qmail@f5-external.bushwire.net> Date: Fri, 21 Mar 2014 16:23:10 +0100 X-Google-Sender-Auth: vNBS6x5W1AoehEDw5WUtyGGyrqs Message-ID: Subject: Re: Patch: Should netmap prototypes use const where possible? From: Luigi Rizzo To: Mark Delany Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: "freebsd-net@freebsd.org" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Mar 2014 15:23:13 -0000 On Fri, Mar 21, 2014 at 3:48 PM, Mark Delany wrote: > Subject line says it all. I don't know what the convention is, but I > presume everything should be declared const whenever possible, thus > the appended patch. > > yes makes sense. cheers luigi