BSD 4_4 release
[unix-history] / usr / src / usr.bin / ex / ex_subr.c
index d845cb6..b8f9e14 100644 (file)
@@ -1,12 +1,15 @@
-/*
- * Copyright (c) 1980 Regents of the University of California.
- * All rights reserved.  The Berkeley software License Agreement
- * specifies the terms and conditions for redistribution.
+/*-
+ * Copyright (c) 1980, 1993
+ *     The Regents of the University of California.  All rights reserved.
+ *
+ * This module is believed to contain source code proprietary to AT&T.
+ * Use and redistribution is subject to the Berkeley Software License
+ * Agreement and your Software Agreement with AT&T (Western Electric).
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char *sccsid = "@(#)ex_subr.c   7.13 (Berkeley) 5/28/90";
-#endif not lint
+static char sccsid[] = "@(#)ex_subr.c  8.1 (Berkeley) 6/9/93";
+#endif /* not lint */
 
 #include "ex.h"
 #include "ex_re.h"
 
 #include "ex.h"
 #include "ex_re.h"
@@ -778,6 +781,7 @@ markit(addr)
  * in a weird state, etc.
  */
 int _ovno;
  * in a weird state, etc.
  */
 int _ovno;
+void
 onemt()
 {
        signal(SIGEMT, onemt);
 onemt()
 {
        signal(SIGEMT, onemt);
@@ -797,6 +801,7 @@ onemt()
  * as they are a backup even without preservation if they
  * are not removed.
  */
  * as they are a backup even without preservation if they
  * are not removed.
  */
+void
 onhup()
 {
 
 onhup()
 {
 
@@ -826,6 +831,7 @@ onhup()
  * Then like a normal error (with the \n before Interrupt
  * suppressed in visual mode).
  */
  * Then like a normal error (with the \n before Interrupt
  * suppressed in visual mode).
  */
+void
 onintr()
 {
 
 onintr()
 {
 
@@ -908,6 +914,7 @@ ex_exit(i)
 /*
  * We have just gotten a susp.  Suspend and prepare to resume.
  */
 /*
  * We have just gotten a susp.  Suspend and prepare to resume.
  */
+void
 onsusp()
 {
        ttymode f;
 onsusp()
 {
        ttymode f;