diff options
author | Mark Wielaard <mark@klomp.org> | 2024-11-07 18:40:03 +0100 |
---|---|---|
committer | Mark Wielaard <mark@klomp.org> | 2024-11-08 11:08:56 +0100 |
commit | 328f42d85b8eb1f3f97e5a1ec97e444a6dd72e33 (patch) | |
tree | 8a4b0b1abed4c9b2840b79bd79723b75d22ef1db | |
parent | arm, objdump: print obsolote warning when 26-bit set in instructions (diff) | |
download | binutils-gdb-328f42d85b8eb1f3f97e5a1ec97e444a6dd72e33.tar.gz binutils-gdb-328f42d85b8eb1f3f97e5a1ec97e444a6dd72e33.tar.bz2 binutils-gdb-328f42d85b8eb1f3f97e5a1ec97e444a6dd72e33.zip |
bfd: Remove unused static find function from doc/chew.c
After commit 2e60790cf7c27d79f90f2dcb81e1930dc980bc1c "Remove the
paramstuff word" there is no caller left of the static find function
in doc/chew.c, so it should be removed.
* doc/chew.c (find): Remove.
-rw-r--r-- | bfd/doc/chew.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/bfd/doc/chew.c b/bfd/doc/chew.c index 842d4153005..b0cb91448be 100644 --- a/bfd/doc/chew.c +++ b/bfd/doc/chew.c @@ -202,22 +202,6 @@ init_string (string_type *buffer) init_string_with_size (buffer, DEF_SIZE); } -static int -find (string_type *str, char *what) -{ - unsigned int i; - char *p; - p = what; - for (i = 0; i < str->write_idx && *p; i++) - { - if (*p == str->ptr[i]) - p++; - else - p = what; - } - return (*p == 0); -} - static void write_buffer (string_type *buffer, FILE *f) { |