diff options
| author | Po Lu | 2024-05-13 08:25:39 +0800 |
|---|---|---|
| committer | Po Lu | 2024-05-13 08:25:39 +0800 |
| commit | b86359d4abfb47820b5644adb0306bd628de6dd8 (patch) | |
| tree | 1ac268956b4abd6e7e2032979514aa09ff10cb1d /src/androidfont.c | |
| parent | b20d4ab374fb9b3c80b968df6acd6444f763bd40 (diff) | |
| download | emacs-b86359d4abfb47820b5644adb0306bd628de6dd8.tar.gz emacs-b86359d4abfb47820b5644adb0306bd628de6dd8.zip | |
Complete pacification of build warnings on Android
* build-aux/makecounter.sh: Introduce extern declaration of
emacs_shortlisp_counter.
* src/android.c (android_class_path): Declare static.
* src/androidfont.c (font_driver_class, font_spec_class)
(integer_class, font_metrics_class, font_object_class): Declare
static.
* src/androidterm.c (android_frame_parm_handlers): Move
declaration...
* src/androidterm.h (android_frame_parm_handlers): ... here.
Diffstat (limited to 'src/androidfont.c')
| -rw-r--r-- | src/androidfont.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/androidfont.c b/src/androidfont.c index 20a18327ff8..5cd23a006e8 100644 --- a/src/androidfont.c +++ b/src/androidfont.c | |||
| @@ -136,26 +136,26 @@ struct androidfont_entity | |||
| 136 | /* Method and class identifiers associated with the EmacsFontDriver | 136 | /* Method and class identifiers associated with the EmacsFontDriver |
| 137 | class. */ | 137 | class. */ |
| 138 | 138 | ||
| 139 | struct android_emacs_font_driver font_driver_class; | 139 | static struct android_emacs_font_driver font_driver_class; |
| 140 | 140 | ||
| 141 | /* Field and class identifiers associated with the | 141 | /* Field and class identifiers associated with the |
| 142 | EmacsFontDriver$FontSpec class. */ | 142 | EmacsFontDriver$FontSpec class. */ |
| 143 | 143 | ||
| 144 | struct android_emacs_font_spec font_spec_class; | 144 | static struct android_emacs_font_spec font_spec_class; |
| 145 | 145 | ||
| 146 | /* Method and class identifiers associated with the Integer class. */ | 146 | /* Method and class identifiers associated with the Integer class. */ |
| 147 | 147 | ||
| 148 | struct android_integer integer_class; | 148 | static struct android_integer integer_class; |
| 149 | 149 | ||
| 150 | /* Field and class identifiers associated with the | 150 | /* Field and class identifiers associated with the |
| 151 | EmacsFontDriver$FontMetrics class. */ | 151 | EmacsFontDriver$FontMetrics class. */ |
| 152 | 152 | ||
| 153 | struct android_emacs_font_metrics font_metrics_class; | 153 | static struct android_emacs_font_metrics font_metrics_class; |
| 154 | 154 | ||
| 155 | /* Field and class identifiers associated with the | 155 | /* Field and class identifiers associated with the |
| 156 | EmacsFontDriver$FontObject class. */ | 156 | EmacsFontDriver$FontObject class. */ |
| 157 | 157 | ||
| 158 | struct android_emacs_font_object font_object_class; | 158 | static struct android_emacs_font_object font_object_class; |
| 159 | 159 | ||
| 160 | /* The font cache. */ | 160 | /* The font cache. */ |
| 161 | 161 | ||