-
- Downloads
Add lots of missing 'static' keywords.
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.)
Showing
- callback.c 3 additions, 3 deletionscallback.c
- minibidi.c 1 addition, 1 deletionminibidi.c
- mpint.c 1 addition, 1 deletionmpint.c
- portfwd.c 1 addition, 1 deletionportfwd.c
- ssh.c 1 addition, 1 deletionssh.c
- sshaes.c 1 addition, 1 deletionsshaes.c
- sshcrcda.c 2 additions, 2 deletionssshcrcda.c
- sshdes.c 1 addition, 1 deletionsshdes.c
- sshecc.c 7 additions, 7 deletionssshecc.c
- sshhmac.c 6 additions, 6 deletionssshhmac.c
- sshmd5.c 2 additions, 2 deletionssshmd5.c
- sshrsa.c 3 additions, 3 deletionssshrsa.c
- sshsh512.c 4 additions, 4 deletionssshsh512.c
- terminal.c 3 additions, 3 deletionsterminal.c
- testcrypt.c 2 additions, 2 deletionstestcrypt.c
- unix/gtkdlg.c 2 additions, 2 deletionsunix/gtkdlg.c
- unix/uxpgnt.c 1 addition, 1 deletionunix/uxpgnt.c
- unix/x11misc.c 2 additions, 3 deletionsunix/x11misc.c
- windows/winpgnt.c 1 addition, 1 deletionwindows/winpgnt.c
- windows/winpgntc.c 1 addition, 1 deletionwindows/winpgntc.c
Loading
Please register or sign in to comment