Date: Wed, 1 Jul 2009 13:04:20 +0300 From: Vlad Galu <dudu@dudu.ro> To: pluknet <pluknet@gmail.com> Cc: freebsd-net@freebsd.org, Xin LI <delphij@delphij.net> Subject: Re: Is there a chance to declare the prototype for setfib() somewhere in a system header? Message-ID: <ad79ad6b0907010304y7de4d8dax399af87c7436a0fd@mail.gmail.com> In-Reply-To: <a31046fc0907010257v5a1f5161pa027eb70d1d6a839@mail.gmail.com> References: <ad79ad6b0907010206x4c7833b7r508fb725fccc35b8@mail.gmail.com> <a31046fc0907010257v5a1f5161pa027eb70d1d6a839@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 1, 2009 at 12:57 PM, pluknet<pluknet@gmail.com> wrote: > 2009/7/1 Vlad Galu <dudu@dudu.ro>: >> Right now, to be able to compile with g++ (not gcc), I have to declare >> it in a "extern <<C>>" scope. > > > setfib() is declared in -current only in sys/socket.h (r1.102). > > Can some please correct setfib(2) manpage? > > --- lib/libc/sys/setfib.2.orig =A02009-07-01 13:50:07.000000000 +0400 > +++ lib/libc/sys/setfib.2 =A0 =A0 =A0 2009-07-01 13:50:22.000000000 +0400 > @@ -33,6 +33,7 @@ > =A0.Sh LIBRARY > =A0.Lb libc > =A0.Sh SYNOPSIS > +.In sys/socket.h > =A0.Ft int > =A0.Fn setfib "int fib" > =A0.Sh DESCRIPTION > > -- > wbr, > pluknet > It would be great if the change to socket.h could be MFCed :) Thanks!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ad79ad6b0907010304y7de4d8dax399af87c7436a0fd>