.Xr botch fix
[unix-history] / usr / src / usr.bin / window / wwend.c
index 0e11974..aa2db90 100644 (file)
@@ -1,11 +1,22 @@
+/*
+ * Copyright (c) 1983 Regents of the University of California.
+ * All rights reserved.
+ *
+ * This code is derived from software contributed to Berkeley by
+ * Edward Wang at The University of California, Berkeley.
+ *
+ * %sccs.include.redist.c%
+ */
+
 #ifndef lint
 #ifndef lint
-static char *sccsid = "@(#)wwend.c     1.2 83/07/17";
-#endif
+static char sccsid[] = "@(#)wwend.c    3.15 (Berkeley) %G%";
+#endif /* not lint */
 
 #include "ww.h"
 
 #include "ww.h"
+#include "tt.h"
 
 wwend()
 {
 
 wwend()
 {
-       Wcleanup();
-       wwsettty(0, &wwoldtty);
+       xxend();
+       (void) wwsettty(0, &wwoldtty, &wwnewtty);
 }
 }