Skip to content
Snippets Groups Projects
  • Simon Tatham's avatar
    8d747d80
    Add lots of missing 'static' keywords. · 8d747d80
    Simon Tatham authored
    A trawl through the code with -Wmissing-prototypes and
    -Wmissing-variable-declarations turned up a lot of things that should
    have been internal to a particular source file, but were accidentally
    global. Keep the namespace clean by making them all static.
    
    (Also, while I'm here, a couple of them were missing a 'const': the
    ONE and ZERO arrays in sshcrcda.c, and EMPTY_WINDOW_TITLE in
    terminal.c.)
    8d747d80
    History
    Add lots of missing 'static' keywords.
    Simon Tatham authored
    A trawl through the code with -Wmissing-prototypes and
    -Wmissing-variable-declarations turned up a lot of things that should
    have been internal to a particular source file, but were accidentally
    global. Keep the namespace clean by making them all static.
    
    (Also, while I'm here, a couple of them were missing a 'const': the
    ONE and ZERO arrays in sshcrcda.c, and EMPTY_WINDOW_TITLE in
    terminal.c.)