removed old extern declarations.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@711 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -55,9 +55,6 @@
|
|||||||
|
|
||||||
#include "krb4.h"
|
#include "krb4.h"
|
||||||
|
|
||||||
extern char *optarg;
|
|
||||||
extern int optind, opterr;
|
|
||||||
|
|
||||||
#if defined(__sun__) && !defined(__svr4)
|
#if defined(__sun__) && !defined(__svr4)
|
||||||
int fclose(FILE*);
|
int fclose(FILE*);
|
||||||
int pclose(FILE*);
|
int pclose(FILE*);
|
||||||
|
@@ -99,9 +99,6 @@ RCSID("$Id$");
|
|||||||
|
|
||||||
void yyparse();
|
void yyparse();
|
||||||
|
|
||||||
extern char *optarg;
|
|
||||||
extern int optind, opterr;
|
|
||||||
|
|
||||||
#ifndef LOG_FTP
|
#ifndef LOG_FTP
|
||||||
#define LOG_FTP LOG_DAEMON
|
#define LOG_FTP LOG_DAEMON
|
||||||
#endif
|
#endif
|
||||||
@@ -155,15 +152,6 @@ static char ttyline[20];
|
|||||||
authorized and anonymous connections, 2 only authorized */
|
authorized and anonymous connections, 2 only authorized */
|
||||||
static int auth_level = 1;
|
static int auth_level = 1;
|
||||||
|
|
||||||
#ifdef sun
|
|
||||||
extern char *optarg;
|
|
||||||
extern int optind, opterr;
|
|
||||||
|
|
||||||
int fclose(FILE*);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
char *getusershell(void);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Timeout intervals for retrying connections
|
* Timeout intervals for retrying connections
|
||||||
* to hosts that don't accept PORT cmds. This
|
* to hosts that don't accept PORT cmds. This
|
||||||
@@ -206,7 +194,7 @@ static void dolog (struct sockaddr_in *);
|
|||||||
static void end_login (void);
|
static void end_login (void);
|
||||||
static FILE *getdatasock (char *);
|
static FILE *getdatasock (char *);
|
||||||
static char *gunique (char *);
|
static char *gunique (char *);
|
||||||
static void lostconn (int);
|
static RETSIGTYPE lostconn (int);
|
||||||
static int receive_data (FILE *, FILE *);
|
static int receive_data (FILE *, FILE *);
|
||||||
static void send_data (FILE *, FILE *, off_t);
|
static void send_data (FILE *, FILE *, off_t);
|
||||||
static struct passwd * sgetpwnam (char *);
|
static struct passwd * sgetpwnam (char *);
|
||||||
@@ -436,7 +424,7 @@ main(int argc, char **argv)
|
|||||||
/* NOTREACHED */
|
/* NOTREACHED */
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static RETSIGTYPE
|
||||||
lostconn(int signo)
|
lostconn(int signo)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@@ -77,7 +77,6 @@ pop_init(POP *p,int argcount,char **argmessage)
|
|||||||
int errflag = 0;
|
int errflag = 0;
|
||||||
int c;
|
int c;
|
||||||
int len;
|
int len;
|
||||||
extern char * optarg;
|
|
||||||
int options = 0;
|
int options = 0;
|
||||||
int sp = 0; /* Socket pointer */
|
int sp = 0; /* Socket pointer */
|
||||||
char * trace_file_name;
|
char * trace_file_name;
|
||||||
|
@@ -38,6 +38,7 @@ static char copyright[] =
|
|||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
#include "roken.h"
|
||||||
|
|
||||||
RCSID("$Id$");
|
RCSID("$Id$");
|
||||||
|
|
||||||
@@ -99,8 +100,6 @@ void usage(void)
|
|||||||
|
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
extern char *optarg;
|
|
||||||
extern int optind;
|
|
||||||
int ch;
|
int ch;
|
||||||
char *user;
|
char *user;
|
||||||
#ifdef FORWARD
|
#ifdef FORWARD
|
||||||
|
@@ -186,8 +186,6 @@ int main(int argc, char **argv)
|
|||||||
struct sockaddr_in from;
|
struct sockaddr_in from;
|
||||||
int on = 1, fromlen;
|
int on = 1, fromlen;
|
||||||
register int ch;
|
register int ch;
|
||||||
extern char *optarg;
|
|
||||||
extern int optind;
|
|
||||||
#if defined(IPPROTO_IP) && defined(IP_TOS)
|
#if defined(IPPROTO_IP) && defined(IP_TOS)
|
||||||
int tos = -1;
|
int tos = -1;
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user