aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPo Lu2024-05-13 08:25:39 +0800
committerPo Lu2024-05-13 08:25:39 +0800
commitb86359d4abfb47820b5644adb0306bd628de6dd8 (patch)
tree1ac268956b4abd6e7e2032979514aa09ff10cb1d /src
parentb20d4ab374fb9b3c80b968df6acd6444f763bd40 (diff)
downloademacs-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')
-rw-r--r--src/android.c2
-rw-r--r--src/androidfont.c10
-rw-r--r--src/androidterm.c2
-rw-r--r--src/androidterm.h1
4 files changed, 7 insertions, 8 deletions
diff --git a/src/android.c b/src/android.c
index c25ecd88a5a..72ef9e689ef 100644
--- a/src/android.c
+++ b/src/android.c
@@ -153,7 +153,7 @@ char *android_cache_dir;
153 153
154/* The list of archive files within which the Java virtual macine 154/* The list of archive files within which the Java virtual macine
155 looks for class files. */ 155 looks for class files. */
156char *android_class_path; 156static char *android_class_path;
157 157
158/* The display's pixel densities. */ 158/* The display's pixel densities. */
159double android_pixel_density_x, android_pixel_density_y; 159double android_pixel_density_x, android_pixel_density_y;
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
139struct android_emacs_font_driver font_driver_class; 139static 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
144struct android_emacs_font_spec font_spec_class; 144static 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
148struct android_integer integer_class; 148static 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
153struct android_emacs_font_metrics font_metrics_class; 153static 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
158struct android_emacs_font_object font_object_class; 158static struct android_emacs_font_object font_object_class;
159 159
160/* The font cache. */ 160/* The font cache. */
161 161
diff --git a/src/androidterm.c b/src/androidterm.c
index e1cd96c9176..67c20ec5245 100644
--- a/src/androidterm.c
+++ b/src/androidterm.c
@@ -6479,8 +6479,6 @@ static struct textconv_interface text_conversion_interface =
6479 6479
6480 6480
6481 6481
6482extern frame_parm_handler android_frame_parm_handlers[];
6483
6484#endif /* !ANDROID_STUBIFY */ 6482#endif /* !ANDROID_STUBIFY */
6485 6483
6486static struct redisplay_interface android_redisplay_interface = 6484static struct redisplay_interface android_redisplay_interface =
diff --git a/src/androidterm.h b/src/androidterm.h
index 24eb2c30f12..f4459c45dc9 100644
--- a/src/androidterm.h
+++ b/src/androidterm.h
@@ -392,6 +392,7 @@ extern struct android_display_info *x_display_list;
392 392
393/* From androidfns.c. */ 393/* From androidfns.c. */
394 394
395extern frame_parm_handler android_frame_parm_handlers[];
395extern void android_free_gcs (struct frame *); 396extern void android_free_gcs (struct frame *);
396extern void android_default_font_parameter (struct frame *, Lisp_Object); 397extern void android_default_font_parameter (struct frame *, Lisp_Object);
397extern void android_set_preeditarea (struct window *, int, int); 398extern void android_set_preeditarea (struct window *, int, int);