diff options
| author | Paul Eggert | 2025-12-08 18:30:46 -0800 |
|---|---|---|
| committer | Paul Eggert | 2025-12-08 18:32:01 -0800 |
| commit | d10a649e1b3737524f64e14e6a033eec5d0ab17d (patch) | |
| tree | ed59fb846c064a34038cce92f0b39adf20b6ddd1 /src/textconv.c | |
| parent | 4990849514899d1f4c7c8e4d92f83b0e1f62d95e (diff) | |
| download | emacs-d10a649e1b3737524f64e14e6a033eec5d0ab17d.tar.gz emacs-d10a649e1b3737524f64e14e6a033eec5d0ab17d.zip | |
Pacify -Wunused-function re get_conversion_field
* src/textconv.c (get_conversion_field): Define only if HAVE_ANDROID,
since it is unused on non-Android.
Diffstat (limited to 'src/textconv.c')
| -rw-r--r-- | src/textconv.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/textconv.c b/src/textconv.c index e5ade79895c..987a5a4ee10 100644 --- a/src/textconv.c +++ b/src/textconv.c | |||
| @@ -1739,13 +1739,12 @@ handle_pending_conversion_events (void) | |||
| 1739 | unbind_to (count, Qnil); | 1739 | unbind_to (count, Qnil); |
| 1740 | } | 1740 | } |
| 1741 | 1741 | ||
| 1742 | #ifdef HAVE_ANDROID | ||
| 1743 | |||
| 1742 | /* Return the confines of the field to which editing operations on frame | 1744 | /* Return the confines of the field to which editing operations on frame |
| 1743 | F should be constrained in *BEG and *END. Should no field be active, | 1745 | F should be constrained in *BEG and *END. Should no field be active, |
| 1744 | set *END to PTRDIFF_MAX. */ | 1746 | set *END to PTRDIFF_MAX. */ |
| 1745 | 1747 | ||
| 1746 | #ifndef HAVE_ANDROID | ||
| 1747 | static | ||
| 1748 | #endif | ||
| 1749 | void | 1748 | void |
| 1750 | get_conversion_field (struct frame *f, ptrdiff_t *beg, ptrdiff_t *end) | 1749 | get_conversion_field (struct frame *f, ptrdiff_t *beg, ptrdiff_t *end) |
| 1751 | { | 1750 | { |
| @@ -1775,8 +1774,6 @@ get_conversion_field (struct frame *f, ptrdiff_t *beg, ptrdiff_t *end) | |||
| 1775 | *end = PTRDIFF_MAX; | 1774 | *end = PTRDIFF_MAX; |
| 1776 | } | 1775 | } |
| 1777 | 1776 | ||
| 1778 | #ifdef HAVE_ANDROID | ||
| 1779 | |||
| 1780 | /* Start a ``batch edit'' in frame F. During a batch edit, | 1777 | /* Start a ``batch edit'' in frame F. During a batch edit, |
| 1781 | point_changed will not be called until the batch edit ends. | 1778 | point_changed will not be called until the batch edit ends. |
| 1782 | 1779 | ||