From 896929d2babe086638e4cb86adb1514a613053b6 Mon Sep 17 00:00:00 2001 From: charnier Date: Tue, 26 Mar 2002 12:09:49 +0000 Subject: Add FBSDID. Remove unused include. Getopt returns -1 not EOF. --- usr.bin/fetch/fetch.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'usr.bin/fetch/fetch.c') diff --git a/usr.bin/fetch/fetch.c b/usr.bin/fetch/fetch.c index ce19f57..489e98c7 100644 --- a/usr.bin/fetch/fetch.c +++ b/usr.bin/fetch/fetch.c @@ -24,14 +24,14 @@ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * $FreeBSD$ */ +#include +__FBSDID("$FreeBSD$"); + #include #include #include -#include #include #include @@ -655,7 +655,7 @@ main(int argc, char *argv[]) int c, e, r; while ((c = getopt(argc, argv, - "146AaB:bc:dFf:Hh:lMmnPpo:qRrS:sT:tUvw:")) != EOF) + "146AaB:bc:dFf:Hh:lMmnPpo:qRrS:sT:tUvw:")) != -1) switch (c) { case '1': once_flag = 1; @@ -693,7 +693,7 @@ main(int argc, char *argv[]) f_filename = optarg; break; case 'H': - warnx("The -H option is now implicit, " + warnx("the -H option is now implicit, " "use -U to disable"); break; case 'h': -- cgit v1.1