diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2003-01-13 11:04:05 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2003-01-13 11:04:05 +0000 |
commit | e4cdf25aa9fc2bea6682b219bab1c869a1e1ca0a (patch) | |
tree | d6da0acf638d733a1dc4af0288dec827cce15ae0 | |
parent | 732bf294ec59535ed06756f3a0c2b6d6b671713b (diff) |
make cmds[] array static to avoid conflict with BSDI libc.
mindrot bug #466. Fix from mdev@idg.nl; ok markus@
-rw-r--r-- | usr.bin/ssh/sftp-int.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/sftp-int.c b/usr.bin/ssh/sftp-int.c index 9abe19a557c..f3ae0bec900 100644 --- a/usr.bin/ssh/sftp-int.c +++ b/usr.bin/ssh/sftp-int.c @@ -25,7 +25,7 @@ /* XXX: recursive operations */ #include "includes.h" -RCSID("$OpenBSD: sftp-int.c,v 1.53 2003/01/10 23:23:24 fgsch Exp $"); +RCSID("$OpenBSD: sftp-int.c,v 1.54 2003/01/13 11:04:04 djm Exp $"); #include <glob.h> @@ -85,7 +85,7 @@ struct CMD { const int n; }; -const struct CMD cmds[] = { +static const struct CMD cmds[] = { { "bye", I_QUIT }, { "cd", I_CHDIR }, { "chdir", I_CHDIR }, |