diff options
Diffstat (limited to 'vietnamese/vnelvis/files/patch-07')
-rw-r--r-- | vietnamese/vnelvis/files/patch-07 | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/vietnamese/vnelvis/files/patch-07 b/vietnamese/vnelvis/files/patch-07 new file mode 100644 index 0000000..4ded4ac --- /dev/null +++ b/vietnamese/vnelvis/files/patch-07 @@ -0,0 +1,51 @@ +--- 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 + } + + |