Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 707618
Collapse All | Expand All

(-)a/lib/sstrlib/sstr_private.h (-1 / +1 lines)
Lines 32-37 struct _sstr { Link Here
32
};
32
};
33
33
34
int sstr_alloc_space(sstr * p, int len);
34
int sstr_alloc_space(sstr * p, int len);
35
void (*on_error) (void);
35
extern void (*on_error) (void);
36
36
37
#endif /*SSTR_PRIVATE_H */
37
#endif /*SSTR_PRIVATE_H */
(-)a/src/common.h (-1 / +1 lines)
Lines 184-190 typedef struct _session_info { Link Here
184
/*******************
184
/*******************
185
**Global Variables**
185
**Global Variables**
186
********************/
186
********************/
187
session_info *info;
187
extern session_info *info;
188
extern pid_t cmgrpid, tdatapid;
188
extern pid_t cmgrpid, tdatapid;
189
189
190
#endif /* COMMON_H */
190
#endif /* COMMON_H */
(-)a/src/ftp-cmds.c (+2 lines)
Lines 38-43 void xfer_command(sstr * cmd, sstr * arg Link Here
38
void cwd_command(sstr * cmd, sstr * arg);
38
void cwd_command(sstr * cmd, sstr * arg);
39
void pasv_reply(sstr * msg);
39
void pasv_reply(sstr * msg);
40
40
41
struct cmd_struct *ftp_cmds;
42
41
void ftpcmds_init()
43
void ftpcmds_init()
42
{
44
{
43
	static struct cmd_struct list[] = {	/*Pinched in part SUSE */
45
	static struct cmd_struct list[] = {	/*Pinched in part SUSE */
(-)a/src/ftp-cmds.h (-1 / +1 lines)
Lines 33-39 struct cmd_struct { Link Here
33
	void (*cmd) (sstr * cmd, sstr * arg);
33
	void (*cmd) (sstr * cmd, sstr * arg);
34
};
34
};
35
35
36
struct cmd_struct *ftp_cmds;
36
extern struct cmd_struct *ftp_cmds;
37
void user_munge(sstr * cmd, sstr * arg);
37
void user_munge(sstr * cmd, sstr * arg);
38
38
39
39
(-)a/src/main.c (+2 lines)
Lines 62-67 static struct client_info { Link Here
62
void add_client(pid_t, struct sockaddr_in client);
62
void add_client(pid_t, struct sockaddr_in client);
63
void rm_client(pid_t pid);
63
void rm_client(pid_t pid);
64
64
65
session_info *info;
66
65
#ifdef ENABLE_CHANGEPROC
67
#ifdef ENABLE_CHANGEPROC
66
int main(int argc, char *argv[], char *envp[])
68
int main(int argc, char *argv[], char *envp[])
67
#else
69
#else

Return to bug 707618