summaryrefslogtreecommitdiff
path: root/sftp-int.c
diff options
context:
space:
mode:
authordjm <djm>2003-01-14 11:24:05 +0000
committerdjm <djm>2003-01-14 11:24:05 +0000
commit7b21782f6d393c8cfd01f9e2e88626e3c206509a (patch)
tree6d779abfd199962c3c262d79fd2758a4866b88a5 /sftp-int.c
parent275ef778c3da36e76324d645a5b908db872ec4f9 (diff)
downloadopenssh-7b21782f6d393c8cfd01f9e2e88626e3c206509a.tar.gz
- djm@cvs.openbsd.org 2003/01/13 11:04:04
[sftp-int.c] make cmds[] array static to avoid conflict with BSDI libc.
Diffstat (limited to 'sftp-int.c')
-rw-r--r--sftp-int.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sftp-int.c b/sftp-int.c
index 111d1903..3438fdeb 100644
--- a/sftp-int.c
+++ b/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 "buffer.h"
#include "xmalloc.h"
@@ -83,7 +83,7 @@ struct CMD {
const int n;
};
-const struct CMD cmds[] = {
+static const struct CMD cmds[] = {
{ "bye", I_QUIT },
{ "cd", I_CHDIR },
{ "chdir", I_CHDIR },