changed order of includes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1123 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
		@@ -66,12 +66,12 @@
 | 
				
			|||||||
#ifdef HAVE_SYS_PARAM_H
 | 
					#ifdef HAVE_SYS_PARAM_H
 | 
				
			||||||
#include <sys/param.h>
 | 
					#include <sys/param.h>
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
#ifdef HAVE_SYS_STAT_H
 | 
					 | 
				
			||||||
#include <sys/stat.h>
 | 
					 | 
				
			||||||
#endif
 | 
					 | 
				
			||||||
#ifdef HAVE_SYS_TYPES_H
 | 
					#ifdef HAVE_SYS_TYPES_H
 | 
				
			||||||
#include <sys/types.h>
 | 
					#include <sys/types.h>
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					#ifdef HAVE_SYS_STAT_H
 | 
				
			||||||
 | 
					#include <sys/stat.h>
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <ctype.h>
 | 
					#include <ctype.h>
 | 
				
			||||||
#ifdef HAVE_DIRENT_H
 | 
					#ifdef HAVE_DIRENT_H
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -34,10 +34,6 @@
 | 
				
			|||||||
#include "ftp_locl.h"
 | 
					#include "ftp_locl.h"
 | 
				
			||||||
RCSID("$Id$");
 | 
					RCSID("$Id$");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef INADDR_NONE
 | 
					 | 
				
			||||||
#define INADDR_NONE 0xffffffff
 | 
					 | 
				
			||||||
#endif
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
struct	sockaddr_in hisctladdr;
 | 
					struct	sockaddr_in hisctladdr;
 | 
				
			||||||
struct	sockaddr_in data_addr;
 | 
					struct	sockaddr_in data_addr;
 | 
				
			||||||
int	data = -1;
 | 
					int	data = -1;
 | 
				
			||||||
@@ -1585,7 +1581,7 @@ gunique(char *local)
 | 
				
			|||||||
	while (!d) {
 | 
						while (!d) {
 | 
				
			||||||
		if (++count == 100) {
 | 
							if (++count == 100) {
 | 
				
			||||||
			printf("runique: can't find unique file name.\n");
 | 
								printf("runique: can't find unique file name.\n");
 | 
				
			||||||
			return ((char *) 0);
 | 
								return NULL;
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		*cp++ = ext;
 | 
							*cp++ = ext;
 | 
				
			||||||
		*cp = '\0';
 | 
							*cp = '\0';
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -65,6 +65,9 @@
 | 
				
			|||||||
#include <unistd.h>
 | 
					#include <unistd.h>
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#ifdef HAVE_SYS_TYPES_H
 | 
				
			||||||
 | 
					#include <sys/types.h>
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
#ifdef HAVE_SYS_PARAM_H
 | 
					#ifdef HAVE_SYS_PARAM_H
 | 
				
			||||||
#include <sys/param.h>
 | 
					#include <sys/param.h>
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
@@ -80,9 +83,6 @@
 | 
				
			|||||||
#ifdef HAVE_SYS_STAT_H
 | 
					#ifdef HAVE_SYS_STAT_H
 | 
				
			||||||
#include <sys/stat.h>
 | 
					#include <sys/stat.h>
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
#ifdef HAVE_SYS_TYPES_H
 | 
					 | 
				
			||||||
#include <sys/types.h>
 | 
					 | 
				
			||||||
#endif
 | 
					 | 
				
			||||||
#ifdef HAVE_SYS_SOCKET_H
 | 
					#ifdef HAVE_SYS_SOCKET_H
 | 
				
			||||||
#include <sys/socket.h>
 | 
					#include <sys/socket.h>
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -47,6 +47,9 @@ RCSID("$Id$");
 | 
				
			|||||||
#ifdef HAVE_SYS_TYPES_H
 | 
					#ifdef HAVE_SYS_TYPES_H
 | 
				
			||||||
#include <sys/types.h>
 | 
					#include <sys/types.h>
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					#ifdef HAVE_SYS_SOCKET_H
 | 
				
			||||||
 | 
					#include <sys/socket.h>
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
#ifdef HAVE_SYS_IOCTL_H
 | 
					#ifdef HAVE_SYS_IOCTL_H
 | 
				
			||||||
#include <sys/ioctl.h>
 | 
					#include <sys/ioctl.h>
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -72,7 +72,7 @@ void	renamecmd(char *, char *);
 | 
				
			|||||||
char   *renamefrom(char *);
 | 
					char   *renamefrom(char *);
 | 
				
			||||||
void	reply(int, const char *, ...);
 | 
					void	reply(int, const char *, ...);
 | 
				
			||||||
void	retrieve(char *, char *);
 | 
					void	retrieve(char *, char *);
 | 
				
			||||||
void	send_file_list(char *);
 | 
					void	send_file_list(char *, int minus_l);
 | 
				
			||||||
void	setproctitle(const char *, ...);
 | 
					void	setproctitle(const char *, ...);
 | 
				
			||||||
void	statcmd(void);
 | 
					void	statcmd(void);
 | 
				
			||||||
void	statfilecmd(char *);
 | 
					void	statfilecmd(char *);
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -50,6 +50,15 @@ RCSID("$Id$");
 | 
				
			|||||||
#ifdef HAVE_UNISTD_H
 | 
					#ifdef HAVE_UNISTD_H
 | 
				
			||||||
#include <unistd.h>
 | 
					#include <unistd.h>
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					#ifdef HAVE_SYS_SOCKET_H
 | 
				
			||||||
 | 
					#include <sys/socket.h>
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					#ifdef HAVE_NETINET_IN_H
 | 
				
			||||||
 | 
					#include <netinet/in.h>
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					#ifdef HAVE_NETDB_H
 | 
				
			||||||
 | 
					#include <netdb.h>
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
#ifdef HAVE_SYS_IOCTL_H
 | 
					#ifdef HAVE_SYS_IOCTL_H
 | 
				
			||||||
#include <sys/ioctl.h>
 | 
					#include <sys/ioctl.h>
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
@@ -65,16 +74,6 @@ RCSID("$Id$");
 | 
				
			|||||||
#include <errno.h>
 | 
					#include <errno.h>
 | 
				
			||||||
#include <signal.h>
 | 
					#include <signal.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef HAVE_SYS_SOCKET_H
 | 
					 | 
				
			||||||
#include <sys/socket.h>
 | 
					 | 
				
			||||||
#endif
 | 
					 | 
				
			||||||
#ifdef HAVE_NETINET_IN_H
 | 
					 | 
				
			||||||
#include <netinet/in.h>
 | 
					 | 
				
			||||||
#endif
 | 
					 | 
				
			||||||
#ifdef HAVE_NETDB_H
 | 
					 | 
				
			||||||
#include <netdb.h>
 | 
					 | 
				
			||||||
#endif
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#ifdef HAVE_ARPA_NAMESER_H
 | 
					#ifdef HAVE_ARPA_NAMESER_H
 | 
				
			||||||
#include <arpa/nameser.h>
 | 
					#include <arpa/nameser.h>
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -44,8 +44,15 @@ RCSID("$Id$");
 | 
				
			|||||||
#ifdef HAVE_PATHS_H
 | 
					#ifdef HAVE_PATHS_H
 | 
				
			||||||
#include <paths.h>
 | 
					#include <paths.h>
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					#ifdef HAVE_SYS_TYPES_H
 | 
				
			||||||
 | 
					#include <sys/types.h>
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					#ifdef HAVE_SYS_STAT_H
 | 
				
			||||||
#include <sys/stat.h>
 | 
					#include <sys/stat.h>
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					#ifdef HAVE_SYS_PARAM_H
 | 
				
			||||||
#include <sys/param.h>
 | 
					#include <sys/param.h>
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef __P
 | 
					#ifndef __P
 | 
				
			||||||
#define __P(X) X
 | 
					#define __P(X) X
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -66,12 +66,12 @@
 | 
				
			|||||||
#ifdef HAVE_SYS_PARAM_H
 | 
					#ifdef HAVE_SYS_PARAM_H
 | 
				
			||||||
#include <sys/param.h>
 | 
					#include <sys/param.h>
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
#ifdef HAVE_SYS_STAT_H
 | 
					 | 
				
			||||||
#include <sys/stat.h>
 | 
					 | 
				
			||||||
#endif
 | 
					 | 
				
			||||||
#ifdef HAVE_SYS_TYPES_H
 | 
					#ifdef HAVE_SYS_TYPES_H
 | 
				
			||||||
#include <sys/types.h>
 | 
					#include <sys/types.h>
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					#ifdef HAVE_SYS_STAT_H
 | 
				
			||||||
 | 
					#include <sys/stat.h>
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <ctype.h>
 | 
					#include <ctype.h>
 | 
				
			||||||
#ifdef HAVE_DIRENT_H
 | 
					#ifdef HAVE_DIRENT_H
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user