diff options
| author | Eli Zaretskii | 1999-07-30 08:08:43 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 1999-07-30 08:08:43 +0000 |
| commit | 236027c963a363d5a12c54846c70f373535c3663 (patch) | |
| tree | 6fc90aae6160038bc54deb5d1e67075f943e7403 /src | |
| parent | c77f6f1b96decd9ee777a9b2a66f6b72718dab68 (diff) | |
| download | emacs-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.h | 31 |
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. */ |
| 94 | struct frame; | 96 | struct frame; |
| 95 | struct window; | 97 | struct window; |
| 96 | extern void init_frame_faces P_ ((struct frame *)); | 98 | #if 0 |
| 97 | extern void free_frame_faces P_ ((struct frame *)); | 99 | extern int face_name_id_number P_ ((struct frame *, Lisp_Object)); /* !!! */ |
| 98 | extern struct face *intern_face P_ ((struct frame *, struct face *)); | 100 | extern int compute_glyph_face P_ ((struct frame *, int, int)); /* !!! */ |
| 99 | extern int face_name_id_number P_ ((struct frame *, Lisp_Object)); | 101 | #endif |
| 100 | extern void recompute_basic_faces P_ ((struct frame *)); | 102 | |
| 101 | extern 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)); | ||
| 107 | extern int compute_glyph_face P_ ((struct frame *, int, int)); | ||
| 108 | extern void pixel_to_glyph_coords P_ ((struct frame *f, int pix_x, int pix_y, | 105 | extern 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)); |
| 111 | extern void glyph_to_pixel_coords P_ ((struct frame *f, int x, int y, | 108 | extern 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 | ||
| 116 | extern int have_menus_p P_ ((void)); | 113 | extern int have_menus_p P_ ((void)); |
| 117 | extern void x_set_menu_bar_lines P_ ((struct frame *, Lisp_Object, Lisp_Object)); | 114 | extern void x_set_menu_bar_lines P_ ((struct frame *, Lisp_Object, Lisp_Object)); |
| 118 | extern int x_pixel_width P_ ((struct frame *)); | 115 | extern int x_pixel_width P_ ((struct frame *)); |
| 119 | extern int x_pixel_height P_ ((struct frame *)); | 116 | extern int x_pixel_height P_ ((struct frame *)); |
| 120 | 117 | ||
| 121 | /* Defined in xfaces.c */ | ||
| 122 | extern void clear_face_cache P_ ((void)); | ||
| 123 | extern int compute_glyph_face P_ ((struct frame *, int, int)); | ||
| 124 | extern 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) |