blob: 5f516ce5d3567f0d402919bc6f5b975f66253896 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
--- linux-ftpd-0.17/ftpd/ftpcmd.y
+++ linux-ftpd-0.17/ftpd/ftpcmd.y
@@ -125,7 +125,14 @@
char cbuf[512];
char *fromname;
-struct tab;
+struct tab {
+ const char *name;
+ short token;
+ short state;
+ short implemented; /* 1 if command is implemented */
+ const char *help;
+};
+
static int yylex __P((void));
static void sizecmd __P((char *));
static void help __P((struct tab *, char *));
@@ -891,13 +898,6 @@
#define SITECMD 7 /* SITE command */
#define NSTR 8 /* Number followed by a string */
-struct tab {
- const char *name;
- short token;
- short state;
- short implemented; /* 1 if command is implemented */
- const char *help;
-};
struct tab cmdtab[] = { /* In order defined in RFC 765 */
{ "AUTH", AUTH, STR1, 1, "<sp> auth_type" },
|