mirror of
https://github.com/reactos/reactos.git
synced 2025-06-10 20:34:59 +00:00
[FTP]
* Remove one time inclusions from the main header and put them back where they belong. * Cleanup headers including the main one. CORE-7716 svn path=/trunk/; revision=61559
This commit is contained in:
parent
a32fbc04b3
commit
00c90a28a5
8 changed files with 32 additions and 32 deletions
|
@ -15,18 +15,18 @@
|
||||||
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef lint
|
|
||||||
static char sccsid[] = "@(#)cmds.c 5.18 (Berkeley) 4/20/89";
|
|
||||||
#endif /* not lint */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* FTP User Program -- Command Routines.
|
* FTP User Program -- Command Routines.
|
||||||
*/
|
*/
|
||||||
//#include <sys/param.h>
|
|
||||||
//#include <sys/wait.h>
|
|
||||||
|
|
||||||
#include "precomp.h"
|
#include "precomp.h"
|
||||||
|
|
||||||
|
#include "pathnames.h"
|
||||||
|
|
||||||
|
#ifndef lint
|
||||||
|
static char sccsid[] = "@(#)cmds.c 5.18 (Berkeley) 4/20/89";
|
||||||
|
#endif /* not lint */
|
||||||
|
|
||||||
extern char *globerr;
|
extern char *globerr;
|
||||||
extern char home[];
|
extern char home[];
|
||||||
static const char *remglob(const char *argv[], int doswitch);
|
static const char *remglob(const char *argv[], int doswitch);
|
||||||
|
|
|
@ -15,12 +15,12 @@
|
||||||
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "precomp.h"
|
||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
static char sccsid[] = "@(#)cmdtab.c 5.9 (Berkeley) 3/21/89";
|
static char sccsid[] = "@(#)cmdtab.c 5.9 (Berkeley) 3/21/89";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
#include "precomp.h"
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* User FTP -- Command Tables.
|
* User FTP -- Command Tables.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -15,14 +15,14 @@
|
||||||
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#include "precomp.h"
|
||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
static char sccsid[] = "@(#)domacro.c 1.6 (Berkeley) 2/28/89";
|
static char sccsid[] = "@(#)domacro.c 1.6 (Berkeley) 2/28/89";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
#include "precomp.h"
|
|
||||||
//#include <errno.h>
|
|
||||||
//#include <sys/ttychars.h>
|
|
||||||
|
|
||||||
void domacro(int argc, const char *argv[])
|
void domacro(int argc, const char *argv[])
|
||||||
{
|
{
|
||||||
int i, j;
|
int i, j;
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#include "precomp.h"
|
#include "precomp.h"
|
||||||
|
|
||||||
|
#include <wincon.h>
|
||||||
|
|
||||||
#define MAX_ASCII 100
|
#define MAX_ASCII 100
|
||||||
|
|
||||||
int checkRecv(SOCKET s);
|
int checkRecv(SOCKET s);
|
||||||
|
|
|
@ -1,6 +1,3 @@
|
||||||
#define L_SET SEEK_SET
|
|
||||||
#define L_INCR SEEK_CUR
|
|
||||||
#define caddr_t void *
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1985, 1989 Regents of the University of California.
|
* Copyright (c) 1985, 1989 Regents of the University of California.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
|
@ -18,12 +15,18 @@
|
||||||
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "precomp.h"
|
||||||
|
|
||||||
|
#include <signal.h>
|
||||||
|
|
||||||
|
#define L_SET SEEK_SET
|
||||||
|
#define L_INCR SEEK_CUR
|
||||||
|
#define caddr_t void *
|
||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
static char sccsid[] = "@(#)ftp.c 5.28 (Berkeley) 4/20/89";
|
static char sccsid[] = "@(#)ftp.c 5.28 (Berkeley) 4/20/89";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
#include "precomp.h"
|
|
||||||
|
|
||||||
#ifndef MAXHOSTNAMELEN
|
#ifndef MAXHOSTNAMELEN
|
||||||
#define MAXHOSTNAMELEN 64
|
#define MAXHOSTNAMELEN 64
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -15,6 +15,14 @@
|
||||||
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* FTP User Program -- Command Interface.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "precomp.h"
|
||||||
|
|
||||||
|
#include <fcntl.h>
|
||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
char copyright[] =
|
char copyright[] =
|
||||||
"@(#) Copyright (c) 1985, 1989 Regents of the University of California.\n\
|
"@(#) Copyright (c) 1985, 1989 Regents of the University of California.\n\
|
||||||
|
@ -25,11 +33,6 @@ char copyright[] =
|
||||||
static char sccsid[] = "@(#)main.c based on 5.13 (Berkeley) 3/14/89";
|
static char sccsid[] = "@(#)main.c based on 5.13 (Berkeley) 3/14/89";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
/*
|
|
||||||
* FTP User Program -- Command Interface.
|
|
||||||
*/
|
|
||||||
#include "precomp.h"
|
|
||||||
|
|
||||||
#if defined(sun) && !defined(FD_SET)
|
#if defined(sun) && !defined(FD_SET)
|
||||||
typedef int uid_t;
|
typedef int uid_t;
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
//#include <sys/types.h>
|
|
||||||
|
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
|
@ -19,18 +18,12 @@
|
||||||
#include <windef.h>
|
#include <windef.h>
|
||||||
#include <winbase.h>
|
#include <winbase.h>
|
||||||
#include <wingdi.h>
|
#include <wingdi.h>
|
||||||
#include <wincon.h>
|
|
||||||
#define _INC_WINDOWS
|
#define _INC_WINDOWS
|
||||||
#include <winsock.h>
|
#include <winsock.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <signal.h>
|
|
||||||
#include <io.h>
|
#include <io.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <fcntl.h>
|
|
||||||
|
|
||||||
#include "ftp_var.h"
|
#include "ftp_var.h"
|
||||||
#include "pathnames.h"
|
|
||||||
//#include "prototypes.h"
|
|
||||||
//#include "fake.h"
|
|
||||||
|
|
|
@ -15,13 +15,12 @@
|
||||||
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "precomp.h"
|
||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
static char sccsid[] = "@(#)ruserpass.c 5.1 (Berkeley) 3/1/89";
|
static char sccsid[] = "@(#)ruserpass.c 5.1 (Berkeley) 3/1/89";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
#include "precomp.h"
|
|
||||||
//#include <utmp.h>
|
|
||||||
|
|
||||||
struct utmp *getutmp();
|
struct utmp *getutmp();
|
||||||
static FILE *cfile;
|
static FILE *cfile;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue