aboutsummaryrefslogtreecommitdiffstats
path: root/src/xfns.c
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu2015-02-16 10:53:40 +0900
committerYAMAMOTO Mitsuharu2015-02-16 10:53:40 +0900
commita7930e125e27d3591bcf20aa3cd954dc5993ad1b (patch)
tree5adc62d977eb033bd94fd0f874713530b97b3e28 /src/xfns.c
parent426af0ef9f2008d78633a2f3c1daf1ddbe9d8e6e (diff)
downloademacs-a7930e125e27d3591bcf20aa3cd954dc5993ad1b.tar.gz
emacs-a7930e125e27d3591bcf20aa3cd954dc5993ad1b.zip
Modernize k&r cairo-related function declarations.
* gtkutil.c (xg_page_setup_dialog, xg_get_page_setup, draw_page) (xg_print_frames_dialog): Modernize k&r declarations. * xfns.c (Fx_export_frames, Fx_page_setup_dialog, Fx_get_page_setup) (Fx_print_frames_dialog): Modernize k&r declarations. * xterm.c (x_gc_get_ext_data, x_extension_initialize, x_begin_cr_clip) (x_end_cr_clip, x_set_cr_source_with_gc_foreground) (x_set_cr_source_with_gc_background, x_cr_define_fringe_bitmap) (x_cr_destroy_fringe_bitmap, x_cr_draw_frame, x_cr_accumulate_data) (x_cr_destroy, x_cr_export_frames, x_prepare_for_xlibdraw) (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle) (x_draw_rectangle, x_clear_window, x_fill_trapezoid_for_relief) (x_clear_area): Modernize k&r declarations.
Diffstat (limited to 'src/xfns.c')
-rw-r--r--src/xfns.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/xfns.c b/src/xfns.c
index 23af4388e5f..5b591d31769 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -6158,8 +6158,7 @@ FRAMES should be nil (the selected frame), a frame, or a list of
6158frames (each of which corresponds to one page). Optional arg TYPE 6158frames (each of which corresponds to one page). Optional arg TYPE
6159should be either `pdf' (default), `png', `ps', or `svg'. Supported 6159should be either `pdf' (default), `png', `ps', or `svg'. Supported
6160types are determined by the compile-time configuration of cairo. */) 6160types are determined by the compile-time configuration of cairo. */)
6161 (frames, type) 6161 (Lisp_Object frames, Lisp_Object type)
6162 Lisp_Object frames, type;
6163{ 6162{
6164 Lisp_Object result, rest, tmp; 6163 Lisp_Object result, rest, tmp;
6165 cairo_surface_type_t surface_type; 6164 cairo_surface_type_t surface_type;
@@ -6224,7 +6223,7 @@ types are determined by the compile-time configuration of cairo. */)
6224DEFUN ("x-page-setup-dialog", Fx_page_setup_dialog, Sx_page_setup_dialog, 0, 0, 0, 6223DEFUN ("x-page-setup-dialog", Fx_page_setup_dialog, Sx_page_setup_dialog, 0, 0, 0,
6225 doc: /* Pop up a page setup dialog. 6224 doc: /* Pop up a page setup dialog.
6226The current page setup can be obtained using `x-get-page-setup'. */) 6225The current page setup can be obtained using `x-get-page-setup'. */)
6227 () 6226 (void)
6228{ 6227{
6229 block_input (); 6228 block_input ();
6230 xg_page_setup_dialog (); 6229 xg_page_setup_dialog ();
@@ -6247,7 +6246,7 @@ The return value is an alist containing the following keys:
6247The paper width can be obtained as the sum of width, left-margin, and 6246The paper width can be obtained as the sum of width, left-margin, and
6248right-margin values. Likewise, the paper height is the sum of height, 6247right-margin values. Likewise, the paper height is the sum of height,
6249top-margin, and bottom-margin values. */) 6248top-margin, and bottom-margin values. */)
6250 () 6249 (void)
6251{ 6250{
6252 Lisp_Object result; 6251 Lisp_Object result;
6253 6252
@@ -6263,8 +6262,7 @@ DEFUN ("x-print-frames-dialog", Fx_print_frames_dialog, Sx_print_frames_dialog,
6263FRAMES should be nil (the selected frame), a frame, or a list of 6262FRAMES should be nil (the selected frame), a frame, or a list of
6264frames (each of which corresponds to one page). Each frame should be 6263frames (each of which corresponds to one page). Each frame should be
6265visible. */) 6264visible. */)
6266 (frames) 6265 (Lisp_Object frames)
6267 Lisp_Object frames;
6268{ 6266{
6269 Lisp_Object rest, tmp; 6267 Lisp_Object rest, tmp;
6270 6268