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:
Assar Westerlund
1996-09-03 18:03:15 +00:00
parent bc529497cb
commit 3467387cd6
5 changed files with 3 additions and 22 deletions

View File

@@ -55,9 +55,6 @@
#include "krb4.h"
extern char *optarg;
extern int optind, opterr;
#if defined(__sun__) && !defined(__svr4)
int fclose(FILE*);
int pclose(FILE*);

View File

@@ -99,9 +99,6 @@ RCSID("$Id$");
void yyparse();
extern char *optarg;
extern int optind, opterr;
#ifndef LOG_FTP
#define LOG_FTP LOG_DAEMON
#endif
@@ -155,15 +152,6 @@ static char ttyline[20];
authorized and anonymous connections, 2 only authorized */
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
* 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 FILE *getdatasock (char *);
static char *gunique (char *);
static void lostconn (int);
static RETSIGTYPE lostconn (int);
static int receive_data (FILE *, FILE *);
static void send_data (FILE *, FILE *, off_t);
static struct passwd * sgetpwnam (char *);
@@ -436,7 +424,7 @@ main(int argc, char **argv)
/* NOTREACHED */
}
static void
static RETSIGTYPE
lostconn(int signo)
{

View File

@@ -77,7 +77,6 @@ pop_init(POP *p,int argcount,char **argmessage)
int errflag = 0;
int c;
int len;
extern char * optarg;
int options = 0;
int sp = 0; /* Socket pointer */
char * trace_file_name;

View File

@@ -38,6 +38,7 @@ static char copyright[] =
#endif /* not lint */
#include <config.h>
#include "roken.h"
RCSID("$Id$");
@@ -99,8 +100,6 @@ void usage(void)
int main(int argc, char **argv)
{
extern char *optarg;
extern int optind;
int ch;
char *user;
#ifdef FORWARD

View File

@@ -186,8 +186,6 @@ int main(int argc, char **argv)
struct sockaddr_in from;
int on = 1, fromlen;
register int ch;
extern char *optarg;
extern int optind;
#if defined(IPPROTO_IP) && defined(IP_TOS)
int tos = -1;
#endif