mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
b93ba8e95c
displaying and editing of documents in the Vietnamese 8-bit VISCII (VIetnamese Standard Code for Information Interchange) data format using the 7-bit VIQR (VIetnamese Quoted Readable) input method.
52 lines
828 B
Plaintext
52 lines
828 B
Plaintext
--- curses.c.orig Thu May 14 22:55:48 1992
|
|
+++ curses.c Wed Dec 4 23:55:33 1996
|
|
@@ -40,6 +40,13 @@
|
|
|
|
#include <signal.h>
|
|
|
|
+#if TURBOC || (BSD >= 199306)
|
|
+void
|
|
+#else
|
|
+int
|
|
+#endif
|
|
+getsize();
|
|
+
|
|
extern char *getenv();
|
|
static void starttcap();
|
|
|
|
@@ -338,7 +345,7 @@
|
|
}
|
|
exwrote = FALSE;
|
|
|
|
-#if TURBOC
|
|
+#if TURBOC || (BSD >= 199306)
|
|
signal(SIGINT, (void(*)()) trapint);
|
|
#else
|
|
signal(SIGINT, trapint);
|
|
@@ -482,7 +489,12 @@
|
|
* This function is called once during initialization, and thereafter it is
|
|
* called whenever the SIGWINCH signal is sent to this process.
|
|
*/
|
|
-int getsize(signo)
|
|
+#if TURBOC || (BSD >= 199306)
|
|
+void
|
|
+#else
|
|
+int
|
|
+#endif
|
|
+getsize(signo)
|
|
int signo;
|
|
{
|
|
int lines;
|
|
@@ -535,7 +547,11 @@
|
|
*o_lines = LINES;
|
|
}
|
|
|
|
+#if TURBOC || (BSD >= 199306)
|
|
+ return;
|
|
+#else
|
|
return 0;
|
|
+#endif
|
|
}
|
|
|
|
|