1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-01 03:22:48 -05:00

Add a batch of missing 'static's.

This commit is contained in:
Simon Tatham
2022-09-03 12:02:48 +01:00
parent c12cde1bea
commit 9a84a89c32
16 changed files with 74 additions and 67 deletions

View File

@ -3558,13 +3558,14 @@ static void reverse_sequences(BidiContext *ctx)
}
/*
* The Main Bidi Function, and the only function that should be used
* by the outside world.
* The Main Bidi Function. The two wrappers below it present different
* external APIs for different purposes, but everything comes through
* here.
*
* text: a buffer of size textlen containing text to apply the
* Bidirectional algorithm to.
*/
void do_bidi_new(BidiContext *ctx, bidi_char *text, size_t textlen)
static void do_bidi_new(BidiContext *ctx, bidi_char *text, size_t textlen)
{
ensure_arrays(ctx, textlen);
ctx->text = text;

View File

@ -1537,7 +1537,7 @@ static void set_erase_char(Terminal *term)
* lookups which would be involved in fetching them from the former
* every time.
*/
void term_copy_stuff_from_conf(Terminal *term)
static void term_copy_stuff_from_conf(Terminal *term)
{
term->ansi_colour = conf_get_bool(term->conf, CONF_ansi_colour);
term->no_arabicshaping = conf_get_bool(term->conf, CONF_no_arabicshaping);