changeset 493:610e4ba94a4d

[xemacs-hg @ 2001-04-30 10:13:09 by martinb] Port to gcc 3.0
author martinb
date Mon, 30 Apr 2001 10:13:10 +0000
parents 3ad16aecab9f
children 4137b1fb7b90
files src/ChangeLog src/terminfo.c
diffstat 2 files changed, 9 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Mon Apr 30 09:46:55 2001 +0000
+++ b/src/ChangeLog	Mon Apr 30 10:13:10 2001 +0000
@@ -1,3 +1,12 @@
+2001-05-01  Martin Buchholz  <martin@xemacs.org>
+
+	Fix link error with gcc 3.0 on Linux.
+	* terminfo.c (UP): Remove.
+	* terminfo.c (BC): Remove.
+	* terminfo.c (PC): Remove.
+	They weren't used, and in any case, these symbols should be
+	defined in the *library*.
+
 2001-04-30  Martin Buchholz  <martin@xemacs.org>
 
 	Make string hashing more efficient.
--- a/src/terminfo.c	Mon Apr 30 09:46:55 2001 +0000
+++ b/src/terminfo.c	Mon Apr 30 10:13:10 2001 +0000
@@ -24,12 +24,6 @@
 
 #include <string.h>
 
-/* Define these variables that serve as global parameters to termcap,
-   so that we do not need to conditionalize the places in Emacs
-   that set them.  */
-
-char *UP, *BC, PC;
-
 /* Every little bit of this God-damned file has caused all manner
    of headaches due to inconsistent and incorrect header files
    on one system or other, and we don't currently need anything here,