changeset 47983:af143d9ed38e

Remove definition of XColor.
author Juanma Barranquero <lekktu@gmail.com>
date Wed, 23 Oct 2002 16:55:19 +0000
parents cd58bd276a86
children ee12f8f7eb12
files src/macfns.c src/w32fns.c src/xfaces.c
diffstat 3 files changed, 0 insertions(+), 35 deletions(-) [+]
line wrap: on
line diff
--- a/src/macfns.c	Wed Oct 23 16:54:36 2002 +0000
+++ b/src/macfns.c	Wed Oct 23 16:55:19 2002 +0000
@@ -99,16 +99,6 @@
 extern int w32_console_toggle_lock_key (int vk_code, Lisp_Object new_state);
 extern int quit_char;*/
 
-/* A definition of XColor for non-X frames.  */
-#ifndef HAVE_X_WINDOWS
-typedef struct {
-  unsigned long pixel;
-  unsigned short red, green, blue;
-  char flags;
-  char pad;
-} XColor;
-#endif
-
 extern char *lispy_function_keys[];
 
 /* The gray bitmap `bitmaps/gray'.  This is done because macterm.c uses
--- a/src/w32fns.c	Wed Oct 23 16:54:36 2002 +0000
+++ b/src/w32fns.c	Wed Oct 23 16:55:19 2002 +0000
@@ -64,16 +64,6 @@
 
 extern int quit_char;
 
-/* A definition of XColor for non-X frames.  */
-#ifndef HAVE_X_WINDOWS
-typedef struct {
-  unsigned long pixel;
-  unsigned short red, green, blue;
-  char flags;
-  char pad;
-} XColor;
-#endif
-
 extern char *lispy_function_keys[];
 
 /* The gray bitmap `bitmaps/gray'.  This is done because w32term.c uses
--- a/src/xfaces.c	Wed Oct 23 16:54:36 2002 +0000
+++ b/src/xfaces.c	Wed Oct 23 16:55:19 2002 +0000
@@ -297,21 +297,6 @@
 
 #define FACE_CACHE_BUCKETS_SIZE 1001
 
-/* A definition of XColor for non-X frames.  */
-
-#ifndef HAVE_X_WINDOWS
-
-typedef struct
-{
-  unsigned long pixel;
-  unsigned short red, green, blue;
-  char flags;
-  char pad;
-}
-XColor;
-
-#endif /* not HAVE_X_WINDOWS */
-
 /* Keyword symbols used for face attribute names.  */
 
 Lisp_Object QCfamily, QCheight, QCweight, QCslant, QCunderline;