Use TIME_WITH_SYS_TIME

Removed __P


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1598 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-04-20 05:46:48 +00:00
parent 37a753f3e6
commit 670cc556bf

View File

@@ -37,121 +37,118 @@
#include <setjmp.h> #include <setjmp.h>
#include <stdlib.h> #include <stdlib.h>
#ifdef HAVE_SYS_TIME_H #ifdef TIME_WITH_SYS_TIME
#include <sys/time.h> #include <sys/time.h>
#include <time.h>
#elif defined(HAVE_SYS_TIME_H)
#include <sys/time.h>
#else
#include <time.h>
#endif #endif
#ifdef HAVE_SYS_SELECT_H #ifdef HAVE_SYS_SELECT_H
#include <sys/select.h> #include <sys/select.h>
#endif #endif
#ifndef __P void abort_remote (FILE *);
#ifdef __STDC__ void abortpt (int);
#define __P(X) X void abortrecv (int);
#else void account (int, char **);
#define __P(X) int another (int *, char ***, char *);
#endif void blkfree (char **);
#endif void cd (int, char **);
void cdup (int, char **);
void abort_remote __P((FILE *)); void changetype (int, int);
void abortpt __P((int)); void cmdabort (int);
void abortrecv __P((int)); void cmdscanner (int);
void account __P((int, char **)); int command (char *fmt, ...);
int another __P((int *, char ***, char *)); int confirm (char *, char *);
void blkfree __P((char **)); FILE *dataconn (char *);
void cd __P((int, char **)); void delete (int, char **);
void cdup __P((int, char **)); void disconnect (int, char **);
void changetype __P((int, int)); void do_chmod (int, char **);
void cmdabort __P((int)); void do_umask (int, char **);
void cmdscanner __P((int)); void domacro (int, char **);
int command __P((char *fmt, ...)); char *domap (char *);
int confirm __P((char *, char *)); void doproxy (int, char **);
FILE *dataconn __P((char *)); char *dotrans (char *);
void delete __P((int, char **)); int empty (fd_set *, int);
void disconnect __P((int, char **)); void fatal (char *);
void do_chmod __P((int, char **)); void get (int, char **);
void do_umask __P((int, char **)); struct cmd *getcmd (char *);
void domacro __P((int, char **)); int getit (int, char **, int, char *);
char *domap __P((char *)); int getreply (int);
void doproxy __P((int, char **)); int globulize (char **);
char *dotrans __P((char *)); char *gunique (char *);
int empty __P((fd_set *, int)); void help (int, char **);
void fatal __P((char *)); char *hookup (char *, int);
void get __P((int, char **)); void ftp_idle (int, char **);
struct cmd *getcmd __P((char *)); int initconn (void);
int getit __P((int, char **, int, char *)); void intr (int);
int getreply __P((int)); void lcd (int, char **);
int globulize __P((char **)); int login (char *);
char *gunique __P((char *)); RETSIGTYPE lostpeer (int);
void help __P((int, char **)); void ls (int, char **);
char *hookup __P((char *, int)); void macdef (int, char **);
void ftp_idle __P((int, char **)); void makeargv (void);
int initconn __P((void)); void makedir (int, char **);
void intr __P((int)); void mdelete (int, char **);
void lcd __P((int, char **)); void mget (int, char **);
int login __P((char *)); void mls (int, char **);
RETSIGTYPE lostpeer __P((int)); void modtime (int, char **);
void ls __P((int, char **)); void mput (int, char **);
void macdef __P((int, char **)); char *onoff (int);
void makeargv __P((void)); void newer (int, char **);
void makedir __P((int, char **)); void proxtrans (char *, char *, char *);
void mdelete __P((int, char **)); void psabort (int);
void mget __P((int, char **)); void pswitch (int);
void mls __P((int, char **)); void ptransfer (char *, long, struct timeval *, struct timeval *);
void modtime __P((int, char **)); void put (int, char **);
void mput __P((int, char **)); void pwd (int, char **);
char *onoff __P((int)); void quit (int, char **);
void newer __P((int, char **)); void quote (int, char **);
void proxtrans __P((char *, char *, char *)); void quote1 (char *, int, char **);
void psabort __P((int)); void recvrequest (char *, char *, char *, char *, int);
void pswitch __P((int)); void reget (int, char **);
void ptransfer __P((char *, long, struct timeval *, struct timeval *)); char *remglob (char **, int);
void put __P((int, char **)); void removedir (int, char **);
void pwd __P((int, char **)); void renamefile (int, char **);
void quit __P((int, char **)); void reset (int, char **);
void quote __P((int, char **)); void restart (int, char **);
void quote1 __P((char *, int, char **)); void rmthelp (int, char **);
void recvrequest __P((char *, char *, char *, char *, int)); void rmtstatus (int, char **);
void reget __P((int, char **)); int ruserpass (char *, char **, char **, char **);
char *remglob __P((char **, int)); void sendrequest (char *, char *, char *, int);
void removedir __P((int, char **)); void setascii (int, char **);
void renamefile __P((int, char **)); void setbell (int, char **);
void reset __P((int, char **)); void setbinary (int, char **);
void restart __P((int, char **)); void setcase (int, char **);
void rmthelp __P((int, char **)); void setcr (int, char **);
void rmtstatus __P((int, char **)); void setdebug (int, char **);
int ruserpass __P((char *, char **, char **, char **)); void setform (int, char **);
void sendrequest __P((char *, char *, char *, int)); void setftmode (int, char **);
void setascii __P((int, char **)); void setglob (int, char **);
void setbell __P((int, char **)); void sethash (int, char **);
void setbinary __P((int, char **)); void setnmap (int, char **);
void setcase __P((int, char **)); void setntrans (int, char **);
void setcr __P((int, char **)); void setpassive (int, char **);
void setdebug __P((int, char **)); void setpeer (int, char **);
void setform __P((int, char **)); void setport (int, char **);
void setftmode __P((int, char **)); void setprompt (int, char **);
void setglob __P((int, char **)); void setrunique (int, char **);
void sethash __P((int, char **)); void setstruct (int, char **);
void setnmap __P((int, char **)); void setsunique (int, char **);
void setntrans __P((int, char **)); void settenex (int, char **);
void setpassive __P((int, char **)); void settrace (int, char **);
void setpeer __P((int, char **)); void settype (int, char **);
void setport __P((int, char **)); void setverbose (int, char **);
void setprompt __P((int, char **)); void shell (int, char **);
void setrunique __P((int, char **)); void site (int, char **);
void setstruct __P((int, char **)); void sizecmd (int, char **);
void setsunique __P((int, char **)); char *slurpstring (void);
void settenex __P((int, char **)); void status (int, char **);
void settrace __P((int, char **)); void syst (int, char **);
void settype __P((int, char **)); void tvsub (struct timeval *, struct timeval *, struct timeval *);
void setverbose __P((int, char **)); void user (int, char **);
void shell __P((int, char **));
void site __P((int, char **));
void sizecmd __P((int, char **));
char *slurpstring __P((void));
void status __P((int, char **));
void syst __P((int, char **));
void tvsub __P((struct timeval *, struct timeval *, struct timeval *));
void user __P((int, char **));
extern jmp_buf abortprox; extern jmp_buf abortprox;
extern int abrtflag; extern int abrtflag;