Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Oct 1998 17:41:46 -0700 (PDT)
From:      Chris Timmons <skynyrd@opus.cts.cwu.edu>
To:        "Jordan K. Hubbard" <jkh@FreeBSD.ORG>
Cc:        committers@FreeBSD.ORG
Subject:   Re: cvs commit: src/libexec/getty main.c
Message-ID:  <Pine.BSF.3.96.981008173909.29521F-100000@opus.cts.cwu.edu>
In-Reply-To: <199810082314.QAA09068@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

I think there is a good chance that it was using its puts() already - the
change you made would probably allow it to compile while libutil.h still
#included <stdio.h>, right?

In that case, preprocessing puts to Gputs would keep the compiler from
noticing the redundant prototype.

-c


On Thu, 8 Oct 1998, Jordan K. Hubbard wrote:

> jkh         1998/10/08 16:14:02 PDT
> 
>   Modified files:
>     libexec/getty        main.c 
>   Log:
>   This thing has its own puts function, so use it.
>   Submitted by:	Matthew Jacob <mjacob@nas.nasa.gov>
>   
>   Revision  Changes    Path
>   1.23      +3 -1      src/libexec/getty/main.c
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.981008173909.29521F-100000>