Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/ftp include <signal.h> explicitly! we use sig_t exte...



details:   https://anonhg.NetBSD.org/src/rev/c750fdec6673
branches:  trunk
changeset: 473985:c750fdec6673
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Jun 24 14:54:28 1999 +0000

description:
include <signal.h> explicitly! we use sig_t extern.h, and we cannot
depend on other headers fetching it on other OS's.

diffstat:

 usr.bin/ftp/cmdtab.c    |  5 +++--
 usr.bin/ftp/complete.c  |  5 +++--
 usr.bin/ftp/ruserpass.c |  5 +++--
 3 files changed, 9 insertions(+), 6 deletions(-)

diffs (75 lines):

diff -r fbcf034cc0b0 -r c750fdec6673 usr.bin/ftp/cmdtab.c
--- a/usr.bin/ftp/cmdtab.c      Thu Jun 24 14:50:56 1999 +0000
+++ b/usr.bin/ftp/cmdtab.c      Thu Jun 24 14:54:28 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cmdtab.c,v 1.21 1999/06/20 22:07:28 cgd Exp $  */
+/*     $NetBSD: cmdtab.c,v 1.22 1999/06/24 14:54:28 christos Exp $     */
 
 /*
  * Copyright (c) 1985, 1989, 1993, 1994
@@ -38,11 +38,12 @@
 #if 0
 static char sccsid[] = "@(#)cmdtab.c   8.4 (Berkeley) 10/9/94";
 #else
-__RCSID("$NetBSD: cmdtab.c,v 1.21 1999/06/20 22:07:28 cgd Exp $");
+__RCSID("$NetBSD: cmdtab.c,v 1.22 1999/06/24 14:54:28 christos Exp $");
 #endif
 #endif /* not lint */
 
 #include <stdio.h>
+#include <signal.h>
 #include "ftp_var.h"
 
 /*
diff -r fbcf034cc0b0 -r c750fdec6673 usr.bin/ftp/complete.c
--- a/usr.bin/ftp/complete.c    Thu Jun 24 14:50:56 1999 +0000
+++ b/usr.bin/ftp/complete.c    Thu Jun 24 14:54:28 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: complete.c,v 1.24 1999/06/20 22:07:28 cgd Exp $        */
+/*     $NetBSD: complete.c,v 1.25 1999/06/24 14:54:28 christos Exp $   */
 
 /*-
  * Copyright (c) 1997, 1998, 1999 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: complete.c,v 1.24 1999/06/20 22:07:28 cgd Exp $");
+__RCSID("$NetBSD: complete.c,v 1.25 1999/06/24 14:54:28 christos Exp $");
 #endif /* not lint */
 
 /*
@@ -46,6 +46,7 @@
  */
 
 #include <sys/stat.h>
+#include <signal.h>
 
 #include <ctype.h>
 #include <err.h>
diff -r fbcf034cc0b0 -r c750fdec6673 usr.bin/ftp/ruserpass.c
--- a/usr.bin/ftp/ruserpass.c   Thu Jun 24 14:50:56 1999 +0000
+++ b/usr.bin/ftp/ruserpass.c   Thu Jun 24 14:54:28 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ruserpass.c,v 1.21 1998/08/08 03:17:40 lukem Exp $     */
+/*     $NetBSD: ruserpass.c,v 1.22 1999/06/24 14:54:29 christos Exp $  */
 
 /*
  * Copyright (c) 1985, 1993, 1994
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)ruserpass.c        8.4 (Berkeley) 4/27/95";
 #else
-__RCSID("$NetBSD: ruserpass.c,v 1.21 1998/08/08 03:17:40 lukem Exp $");
+__RCSID("$NetBSD: ruserpass.c,v 1.22 1999/06/24 14:54:29 christos Exp $");
 #endif
 #endif /* not lint */
 
@@ -46,6 +46,7 @@
 #include <sys/stat.h>
 
 #include <ctype.h>
+#include <signal.h>
 #include <err.h>
 #include <errno.h>
 #include <netdb.h>



Home | Main Index | Thread Index | Old Index