Mercurial > vim
annotate src/proto/hardcopy.pro @ 27758:5a8258fde1d9 v8.2.4405
patch 8.2.4405: compiler warning for unused variable without +folding
Commit: https://github.com/vim/vim/commit/8329ab79b26be4c6c5766d80abae4a22385ee9e1
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Feb 16 21:51:00 2022 +0000
patch 8.2.4405: compiler warning for unused variable without +folding
Problem: Compiler warning for unused variable without the +folding feature.
(Tony Mechelynck)
Solution: Add #ifdef.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 16 Feb 2022 23:00:04 +0100 |
parents | 55ccc2d353bd |
children | ca6bc7c04163 |
rev | line source |
---|---|
441 | 1 /* hardcopy.c */ |
15470
55ccc2d353bd
patch 8.1.0743: giving error messages is not flexible
Bram Moolenaar <Bram@vim.org>
parents:
14736
diff
changeset
|
2 char *parse_printoptions(void); |
55ccc2d353bd
patch 8.1.0743: giving error messages is not flexible
Bram Moolenaar <Bram@vim.org>
parents:
14736
diff
changeset
|
3 char *parse_printmbfont(void); |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1119
diff
changeset
|
4 int prt_header_height(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1119
diff
changeset
|
5 int prt_use_number(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1119
diff
changeset
|
6 int prt_get_unit(int idx); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1119
diff
changeset
|
7 void ex_hardcopy(exarg_T *eap); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1119
diff
changeset
|
8 void mch_print_cleanup(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1119
diff
changeset
|
9 int mch_print_init(prt_settings_T *psettings, char_u *jobname, int forceit); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1119
diff
changeset
|
10 int mch_print_begin(prt_settings_T *psettings); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1119
diff
changeset
|
11 void mch_print_end(prt_settings_T *psettings); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1119
diff
changeset
|
12 int mch_print_end_page(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1119
diff
changeset
|
13 int mch_print_begin_page(char_u *str); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1119
diff
changeset
|
14 int mch_print_blank_page(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1119
diff
changeset
|
15 void mch_print_start_line(int margin, int page_line); |
14736
3e9b24eac417
patch 8.1.0380: "make proto" doesn't work well
Christian Brabandt <cb@256bit.org>
parents:
7668
diff
changeset
|
16 int mch_print_text_out(char_u *textp, int len); |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1119
diff
changeset
|
17 void mch_print_set_font(int iBold, int iItalic, int iUnderline); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1119
diff
changeset
|
18 void mch_print_set_bg(long_u bgcol); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1119
diff
changeset
|
19 void mch_print_set_fg(long_u fgcol); |
441 | 20 /* vim: set ft=c : */ |