diff options
author | Colin Watson <cjwatson@debian.org> | 2010-08-24 00:37:36 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2010-08-24 00:37:36 +0100 |
commit | 682321bd8f6f8c156bf1e58f7effb69dcd32510d (patch) | |
tree | 24fd689689eda5b0fbf0f89d128a88fc55d63009 /debian/patches | |
parent | d09ce9b9f468c89e4d3f8c4a7d4b4abda56ac385 (diff) |
staticify most functions in ssh-vulnkey.c
Diffstat (limited to 'debian/patches')
-rw-r--r-- | debian/patches/ssh-vulnkey.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/debian/patches/ssh-vulnkey.patch b/debian/patches/ssh-vulnkey.patch index 734dff637..81c225a7f 100644 --- a/debian/patches/ssh-vulnkey.patch +++ b/debian/patches/ssh-vulnkey.patch | |||
@@ -925,7 +925,7 @@ Index: b/ssh-vulnkey.c | |||
925 | + exit(1); | 925 | + exit(1); |
926 | +} | 926 | +} |
927 | + | 927 | + |
928 | +void | 928 | +static void |
929 | +describe_key(const char *filename, u_long linenum, const char *msg, | 929 | +describe_key(const char *filename, u_long linenum, const char *msg, |
930 | + Key *key, const char *comment, int min_verbosity) | 930 | + Key *key, const char *comment, int min_verbosity) |
931 | +{ | 931 | +{ |
@@ -943,7 +943,7 @@ Index: b/ssh-vulnkey.c | |||
943 | + xfree(fp); | 943 | + xfree(fp); |
944 | +} | 944 | +} |
945 | + | 945 | + |
946 | +int | 946 | +static int |
947 | +do_key(const char *filename, u_long linenum, | 947 | +do_key(const char *filename, u_long linenum, |
948 | + Key *key, const char *comment) | 948 | + Key *key, const char *comment) |
949 | +{ | 949 | +{ |
@@ -976,7 +976,7 @@ Index: b/ssh-vulnkey.c | |||
976 | + return ret; | 976 | + return ret; |
977 | +} | 977 | +} |
978 | + | 978 | + |
979 | +int | 979 | +static int |
980 | +do_filename(const char *filename, int quiet_open) | 980 | +do_filename(const char *filename, int quiet_open) |
981 | +{ | 981 | +{ |
982 | + FILE *f; | 982 | + FILE *f; |
@@ -1100,7 +1100,7 @@ Index: b/ssh-vulnkey.c | |||
1100 | + return ret; | 1100 | + return ret; |
1101 | +} | 1101 | +} |
1102 | + | 1102 | + |
1103 | +int | 1103 | +static int |
1104 | +do_host(int quiet_open) | 1104 | +do_host(int quiet_open) |
1105 | +{ | 1105 | +{ |
1106 | + int i; | 1106 | + int i; |
@@ -1117,7 +1117,7 @@ Index: b/ssh-vulnkey.c | |||
1117 | + return ret; | 1117 | + return ret; |
1118 | +} | 1118 | +} |
1119 | + | 1119 | + |
1120 | +int | 1120 | +static int |
1121 | +do_user(const char *dir) | 1121 | +do_user(const char *dir) |
1122 | +{ | 1122 | +{ |
1123 | + int i; | 1123 | + int i; |