Re: increasing LINES and COLS [was Re: suggestion]



Hello,

this patch fix compilation with included slang.

-- 
Regards,
Andrew V. Samoilov.
slang/ChangeLog:

	* include/slang.h (SLang_Version): Declare const.
	(slmisc.c): Add SLang_Version.

--- include/slang.h.sav	Mon Nov  1 09:32:28 2004
+++ include/slang.h	Mon Nov  8 16:39:16 2004
@@ -741,7 +741,7 @@ extern int SLarray_map_array (SLCONST SL
 
   extern char *SLang_User_Prompt;
   /* Prompt to use when reading from stdin */
-  extern int SLang_Version;
+  extern const int SLang_Version;
   extern char *SLang_Version_String;
 extern char *SLang_Doc_Dir;
 
--- slmisc.c.sav	Mon Nov  8 16:38:18 2004
+++ slmisc.c	Mon Nov  8 16:41:33 2004
@@ -12,6 +12,7 @@
 #include "slang.h"
 #include "_slang.h"
 
+const int SLang_Version = 10409;
 
 /* p and ch may point to the same buffer */
 char *_SLexpand_escaped_char(char *p, char *ch)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]