Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Mar 2018 09:55:46 -0400
From:      Ed Maste <emaste@freebsd.org>
To:        src-committers <src-committers@freebsd.org>, svn-src-all@freebsd.org,  svn-src-head@freebsd.org
Subject:   Re: svn commit: r331356 - in head: lib/libsysdecode sys/amd64/linux sys/amd64/linux32 sys/compat/linux sys/i386/linux sys/modules/linux_common
Message-ID:  <CAPyFy2CDf8ibZ-a%2B8HNHJd3VpCwBZ7VwDgFQcwyssf65%2BAtsPQ@mail.gmail.com>
In-Reply-To: <201803221258.w2MCwov4067050@repo.freebsd.org>
References:  <201803221258.w2MCwov4067050@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 22 March 2018 at 08:58, Ed Maste <emaste@freebsd.org> wrote:
> Author: emaste
> Date: Thu Mar 22 12:58:49 2018
> New Revision: 331356
> URL: https://svnweb.freebsd.org/changeset/base/331356
>
> Log:
>   Share Linux errno table with libsysdecode

I had a question about using ".inc" vs ".h". I followed the ".inc"
convention from some examples in llvm and elsewhere, because
linux_errno.inc is unlike regular headers - it's not idempotent, and
the array has to be the first non-comment content in the file because
it's prefixed with "static" before one of the #includes.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyFy2CDf8ibZ-a%2B8HNHJd3VpCwBZ7VwDgFQcwyssf65%2BAtsPQ>