diff options
author | Damien Miller <djm@mindrot.org> | 2003-01-14 22:24:05 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2003-01-14 22:24:05 +1100 |
commit | dc70857773267f4832ac159c2f98db125f25f419 (patch) | |
tree | 77412c0913021a6edbaacb53e446fa36331779e3 /sftp-int.c | |
parent | 71a51415348921728b5b41ac45003858436634c3 (diff) |
- 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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 }, |