aboutsummaryrefslogtreecommitdiff
path: root/gdb/completer.h
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2024-02-13 12:19:00 +0000
committerAndrew Burgess <aburgess@redhat.com>2024-03-25 17:47:44 +0000
commit10c58fd8df4b3cbdadd536fbccb39ed111c594c2 (patch)
tree97fb1d66ad6783cdc4a9f30b0c0c753483e313ee /gdb/completer.h
parentc66e8e5c8d2a0bf68d9af65f3e4823eb01862f56 (diff)
downloadbinutils-10c58fd8df4b3cbdadd536fbccb39ed111c594c2.zip
binutils-10c58fd8df4b3cbdadd536fbccb39ed111c594c2.tar.gz
binutils-10c58fd8df4b3cbdadd536fbccb39ed111c594c2.tar.bz2
gdb/completion: make completion_find_completion_word static
I noticed that completion_find_completion_word is only used within completer.c, so lets make it static. There should be no user visible changes after this commit.
Diffstat (limited to 'gdb/completer.h')
-rw-r--r--gdb/completer.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/gdb/completer.h b/gdb/completer.h
index 0a95ced..9011ba7 100644
--- a/gdb/completer.h
+++ b/gdb/completer.h
@@ -556,17 +556,6 @@ extern void complete_line (completion_tracker &tracker,
extern completion_result
complete (const char *line, char const **word, int *quote_char);
-/* Find the bounds of the word in TEXT for completion purposes, and
- return a pointer to the end of the word. Calls the completion
- machinery for a handle_brkchars phase (using TRACKER) to figure out
- the right work break characters for the command in TEXT.
- QUOTE_CHAR, if non-null, is set to the opening quote character if
- we found an unclosed quoted substring, '\0' otherwise. */
-extern const char *completion_find_completion_word (completion_tracker &tracker,
- const char *text,
- int *quote_char);
-
-
/* Assuming TEXT is an expression in the current language, find the
completion word point for TEXT, emulating the algorithm readline
uses to find the word point, using the current language's word