aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii1999-07-30 08:08:43 +0000
committerEli Zaretskii1999-07-30 08:08:43 +0000
commit236027c963a363d5a12c54846c70f373535c3663 (patch)
tree6fc90aae6160038bc54deb5d1e67075f943e7403 /src
parentc77f6f1b96decd9ee777a9b2a66f6b72718dab68 (diff)
downloademacs-236027c963a363d5a12c54846c70f373535c3663.tar.gz
emacs-236027c963a363d5a12c54846c70f373535c3663.zip
Remove redundant declarations (most of them are now in
dispextern.h).
Diffstat (limited to 'src')
-rw-r--r--src/msdos.h31
1 files changed, 10 insertions, 21 deletions
diff --git a/src/msdos.h b/src/msdos.h
index 5bf15c4f6cc..c8ff29c2dd9 100644
--- a/src/msdos.h
+++ b/src/msdos.h
@@ -64,6 +64,8 @@ struct x_output
64 PIX_TYPE background_pixel; 64 PIX_TYPE background_pixel;
65 PIX_TYPE foreground_pixel; 65 PIX_TYPE foreground_pixel;
66 XFontStruct *font; 66 XFontStruct *font;
67 Window busy_window;
68 unsigned busy_p : 1;
67 struct face **param_faces; 69 struct face **param_faces;
68 int n_param_faces; 70 int n_param_faces;
69 struct face **computed_faces; 71 struct face **computed_faces;
@@ -93,40 +95,27 @@ extern Display *x_current_display;
93/* Forward declarations for prototypes. */ 95/* Forward declarations for prototypes. */
94struct frame; 96struct frame;
95struct window; 97struct window;
96extern void init_frame_faces P_ ((struct frame *)); 98#if 0
97extern void free_frame_faces P_ ((struct frame *)); 99extern int face_name_id_number P_ ((struct frame *, Lisp_Object)); /* !!! */
98extern struct face *intern_face P_ ((struct frame *, struct face *)); 100extern int compute_glyph_face P_ ((struct frame *, int, int)); /* !!! */
99extern int face_name_id_number P_ ((struct frame *, Lisp_Object)); 101#endif
100extern void recompute_basic_faces P_ ((struct frame *)); 102
101extern int compute_char_face P_ ((struct frame *frame, 103/* From xterm.c; emulated on msdos.c */
102 struct window *w, 104
103 int pos,
104 int region_beg, int region_end,
105 int *endptr,
106 int limit, int mouse));
107extern int compute_glyph_face P_ ((struct frame *, int, int));
108extern void pixel_to_glyph_coords P_ ((struct frame *f, int pix_x, int pix_y, 105extern void pixel_to_glyph_coords P_ ((struct frame *f, int pix_x, int pix_y,
109 int *x, int *y, XRectangle *bounds, 106 int *x, int *y, XRectangle *bounds,
110 int noclip)); 107 int noclip));
111extern void glyph_to_pixel_coords P_ ((struct frame *f, int x, int y, 108extern void glyph_to_pixel_coords P_ ((struct frame *f, int x, int y,
112 int *pix_x, int *pix_y)); 109 int *pix_x, int *pix_y));
113 110
114/* Defined in xfns.c */ 111/* Defined in xfns.c; emulated on msdos.c */
115 112
116extern int have_menus_p P_ ((void)); 113extern int have_menus_p P_ ((void));
117extern void x_set_menu_bar_lines P_ ((struct frame *, Lisp_Object, Lisp_Object)); 114extern void x_set_menu_bar_lines P_ ((struct frame *, Lisp_Object, Lisp_Object));
118extern int x_pixel_width P_ ((struct frame *)); 115extern int x_pixel_width P_ ((struct frame *));
119extern int x_pixel_height P_ ((struct frame *)); 116extern int x_pixel_height P_ ((struct frame *));
120 117
121/* Defined in xfaces.c */
122extern void clear_face_cache P_ ((void));
123extern int compute_glyph_face P_ ((struct frame *, int, int));
124extern int compute_glyph_face_1 P_ ((struct frame *, Lisp_Object, int));
125
126
127#define XFreeGC (void) 118#define XFreeGC (void)
128#define same_size_fonts(foo,bar) (1)
129#define unload_font(p1,p2)
130#define unload_color(p1,p2) 119#define unload_color(p1,p2)
131#define x_destroy_bitmap(p1,p2) 120#define x_destroy_bitmap(p1,p2)
132#define load_pixmap(p1,p2,p3,p4) (0) 121#define load_pixmap(p1,p2,p3,p4) (0)