Ingo Schwarze wrote:
> Hi,
>
> Brian Callahan wrote on Mon, May 29, 2017 at 04:47:42PM -0400:
>
> > [...] functions fmt_putc and fmt_puts.
> > w(1) is doing a reacharound to ps(1) for these functions.
> > [...]
> > A grep of the tree shows that the only place these two functions
> > are used is i
Hi,
Brian Callahan wrote on Mon, May 29, 2017 at 04:47:42PM -0400:
> [...] functions fmt_putc and fmt_puts.
> w(1) is doing a reacharound to ps(1) for these functions.
> [...]
> A grep of the tree shows that the only place these two functions
> are used is in usr.bin/w/w.c so I put them in there
Hi tech --
While building w(1) with WARNINGS=yes, clang complained that there
were missing prototypes for the functions fmt_putc and fmt_puts.
w(1) is doing a reacharound to ps(1) for these functions. And
while putting the prototypes in bin/ps/extern.h silenced the
warnings, that seemed strange.