diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-02-26 23:30:02 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-02-26 23:30:02 -0800 |
commit | 0ff162fccf6ba6f1b8a5f331428091c78c966aa1 (patch) | |
tree | 8f16ef541cdfb2d9b4fa893abd0d9b5827bf3e14 /src/frame.h | |
parent | fdb0b28bf67cd41fd2edd5084984e714c8de6b4c (diff) | |
download | emacs-0ff162fccf6ba6f1b8a5f331428091c78c966aa1.tar.gz |
* frame.h: Avoid gcc -Wmissing-prototypes diagnostics.
(set_menu_bar_lines, x_get_resource_string): New decls.
* msdos.c (set_menu_bar_lines): Omit decl.
Diffstat (limited to 'src/frame.h')
-rw-r--r-- | src/frame.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/frame.h b/src/frame.h index 9687e39a9fc..756e121f678 100644 --- a/src/frame.h +++ b/src/frame.h @@ -841,6 +841,7 @@ extern Lisp_Object Qnoelisp; extern struct frame *last_nonminibuf_frame; +extern void set_menu_bar_lines (struct frame *, Lisp_Object, Lisp_Object); extern struct frame *make_initial_frame (void); extern struct frame *make_terminal_frame (struct terminal *); extern struct frame *make_frame (int); @@ -1131,17 +1132,20 @@ extern int x_figure_window_size (struct frame *, Lisp_Object, int); extern void x_set_alpha (struct frame *, Lisp_Object, Lisp_Object); extern void validate_x_resource_name (void); - + extern Lisp_Object display_x_get_resource (Display_Info *, Lisp_Object attribute, Lisp_Object class, Lisp_Object component, Lisp_Object subclass); +#if defined HAVE_X_WINDOWS && !defined USE_X_TOOLKIT +extern char *x_get_resource_string (const char *, const char *); +#endif + /* In xmenu.c */ extern void set_frame_menubar (FRAME_PTR, int, int); #endif /* HAVE_WINDOW_SYSTEM */ #endif /* not EMACS_FRAME_H */ - |