From 682321bd8f6f8c156bf1e58f7effb69dcd32510d Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Tue, 24 Aug 2010 00:37:36 +0100 Subject: staticify most functions in ssh-vulnkey.c --- debian/patches/ssh-vulnkey.patch | 10 +++++----- ssh-vulnkey.c | 10 +++++----- 2 files changed, 10 insertions(+), 10 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 + exit(1); +} + -+void ++static void +describe_key(const char *filename, u_long linenum, const char *msg, + Key *key, const char *comment, int min_verbosity) +{ @@ -943,7 +943,7 @@ Index: b/ssh-vulnkey.c + xfree(fp); +} + -+int ++static int +do_key(const char *filename, u_long linenum, + Key *key, const char *comment) +{ @@ -976,7 +976,7 @@ Index: b/ssh-vulnkey.c + return ret; +} + -+int ++static int +do_filename(const char *filename, int quiet_open) +{ + FILE *f; @@ -1100,7 +1100,7 @@ Index: b/ssh-vulnkey.c + return ret; +} + -+int ++static int +do_host(int quiet_open) +{ + int i; @@ -1117,7 +1117,7 @@ Index: b/ssh-vulnkey.c + return ret; +} + -+int ++static int +do_user(const char *dir) +{ + int i; diff --git a/ssh-vulnkey.c b/ssh-vulnkey.c index f32317afc..2e29ba462 100644 --- a/ssh-vulnkey.c +++ b/ssh-vulnkey.c @@ -79,7 +79,7 @@ usage(void) exit(1); } -void +static void describe_key(const char *filename, u_long linenum, const char *msg, Key *key, const char *comment, int min_verbosity) { @@ -97,7 +97,7 @@ describe_key(const char *filename, u_long linenum, const char *msg, xfree(fp); } -int +static int do_key(const char *filename, u_long linenum, Key *key, const char *comment) { @@ -130,7 +130,7 @@ do_key(const char *filename, u_long linenum, return ret; } -int +static int do_filename(const char *filename, int quiet_open) { FILE *f; @@ -254,7 +254,7 @@ do_filename(const char *filename, int quiet_open) return ret; } -int +static int do_host(int quiet_open) { int i; @@ -271,7 +271,7 @@ do_host(int quiet_open) return ret; } -int +static int do_user(const char *dir) { int i; -- cgit v1.2.3