svn commit: r331057 - head/sys/compat/linux
John Baldwin
jhb at freebsd.org
Tue Mar 20 16:44:31 UTC 2018
On Monday, March 19, 2018 05:32:22 PM Ed Maste wrote:
> On 16 March 2018 at 17:08, John Baldwin <jhb at freebsd.org> wrote:
> > On Friday, March 16, 2018 02:51:47 PM Ed Maste wrote:
> >> Author: emaste
> >> Date: Fri Mar 16 14:51:47 2018
> >> New Revision: 331057
> >> URL: https://svnweb.freebsd.org/changeset/base/331057
> >>
> >> Log:
> >> linux_errno.c: add newer errno values
> >
> > Could you move the table to a header perhaps so it can also be shared
> > with lib/libsysdecode/errno.c (which has another copy of this table)?
>
> I found that copy shortly after I made this change (and then updated
> it to match). We could just add linux_errno.c to libsysdecode though?
Probably. I'd like to avoid exporting the symbol if possible. Currently
that is done by marking it static in errno.c, but if I compile in
linux_errno.c as-is it would be a global symbol (and would need to be
exported to errno.c at least).
--
John Baldwin
More information about the svn-src-all
mailing list