summaryrefslogtreecommitdiffstats
path: root/usr.bin/tip/libacu
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2000-04-14 06:39:19 +0000
committerimp <imp@FreeBSD.org>2000-04-14 06:39:19 +0000
commit4721d7ef435f4d79e92d8d98ba9b645bb25993fb (patch)
treec7963b41252b2e47e3e9896854edbbb0300e6576 /usr.bin/tip/libacu
parent7fec3d2787608459e561d33aa2c5f4370c7eb11f (diff)
downloadFreeBSD-src-4721d7ef435f4d79e92d8d98ba9b645bb25993fb.zip
FreeBSD-src-4721d7ef435f4d79e92d8d98ba9b645bb25993fb.tar.gz
#include <errno.h> where needed. Kill extern int errno;.
Minor warnings in tip corrected.
Diffstat (limited to 'usr.bin/tip/libacu')
-rw-r--r--usr.bin/tip/libacu/dn11.c4
-rw-r--r--usr.bin/tip/libacu/v831.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/usr.bin/tip/libacu/dn11.c b/usr.bin/tip/libacu/dn11.c
index 52749da..6a2fc3e 100644
--- a/usr.bin/tip/libacu/dn11.c
+++ b/usr.bin/tip/libacu/dn11.c
@@ -29,6 +29,8 @@
* 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$
*/
#ifndef lint
@@ -40,6 +42,7 @@ static char sccsid[] = "@(#)dn11.c 8.1 (Berkeley) 6/6/93";
*/
#include "tipconf.h"
#include "tip.h"
+#include <errno.h>
int dn_abort();
void alarmtr();
@@ -49,7 +52,6 @@ static int child = -1, dn;
dn_dialer(num, acu)
char *num, *acu;
{
- extern errno;
char *p, *q, phone[40];
int lt, nw, connected = 1;
register int timelim;
diff --git a/usr.bin/tip/libacu/v831.c b/usr.bin/tip/libacu/v831.c
index b670c2a..e02121c 100644
--- a/usr.bin/tip/libacu/v831.c
+++ b/usr.bin/tip/libacu/v831.c
@@ -29,6 +29,8 @@
* 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$
*/
#ifndef lint
@@ -40,10 +42,10 @@ static char sccsid[] = "@(#)v831.c 8.1 (Berkeley) 6/6/93";
*/
#include "tipconf.h"
#include "tip.h"
+#include <errno.h>
int v831_abort();
static void alarmtr();
-extern int errno;
static jmp_buf jmpbuf;
static int child = -1;
OpenPOWER on IntegriCloud