summaryrefslogtreecommitdiff
path: root/usr.bin/ftp/extern.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-02-05 04:55:22 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-02-05 04:55:22 +0000
commitf2f4b9ce08f5050c9719f6856d3b7a8c01339a8a (patch)
treeeb9b4a7bf119f9728a7c62efcb9100e56fc42295 /usr.bin/ftp/extern.h
parent3f28b74ef47b782fd5b4139ad69271619239e51e (diff)
Include signal.h where reasonable and make signal handlers match
what signal(3)'s prototype says (and cast when not). Also change MAXFOO+1 -> MAXFOO since MAXFOO includes the NULL. Support $TMPDIR and use utime(3) not utimes(2) for portability's sake. Don't spew "Passive mode enabled/disabled" unless verbose (this means togglevar() needs to watch for a NULL 'message').
Diffstat (limited to 'usr.bin/ftp/extern.h')
-rw-r--r--usr.bin/ftp/extern.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/usr.bin/ftp/extern.h b/usr.bin/ftp/extern.h
index cfa536ce915..1ca06b5583b 100644
--- a/usr.bin/ftp/extern.h
+++ b/usr.bin/ftp/extern.h
@@ -1,5 +1,5 @@
/* $NetBSD: extern.h,v 1.11 1997/02/01 10:44:58 lukem Exp $ */
-/* $OpenBSD: extern.h,v 1.7 1997/02/03 01:05:37 millert Exp $ */
+/* $OpenBSD: extern.h,v 1.8 1997/02/05 04:55:15 millert Exp $ */
/*-
* Copyright (c) 1994 The Regents of the University of California.
@@ -39,10 +39,10 @@
struct fd_set;
void abort_remote __P((FILE *));
-void abortpt __P(());
-void abortrecv __P(());
-void abortsend __P(());
-void aborthttp __P(());
+void abortpt __P((int));
+void abortrecv __P((int));
+void abortsend __P((int));
+void aborthttp __P((int));
void account __P((int, char **));
void alarmtimer __P((int));
int another __P((int *, char ***, const char *));
@@ -51,7 +51,7 @@ void blkfree __P((char **));
void cd __P((int, char **));
void cdup __P((int, char **));
void changetype __P((int, int));
-void cmdabort __P(());
+void cmdabort __P((int));
void cmdscanner __P((int));
int command __P(());
#ifndef SMALLFTP
@@ -78,11 +78,11 @@ void help __P((int, char **));
char *hookup __P((const char *, int));
void idle __P((int, char **));
int initconn __P((void));
-void intr __P(());
+void intr __P((void));
void list_vertical __P((StringList *));
void lcd __P((int, char **));
int login __P((const char *));
-void lostpeer __P(());
+void lostpeer __P((void));
void lpwd __P((int, char **));
void ls __P((int, char **));
void mabort __P((int));
@@ -97,10 +97,10 @@ void mput __P((int, char **));
char *onoff __P((int));
void newer __P((int, char **));
void progressmeter __P((int));
-char *prompt __P(());
-void proxabort __P(());
+char *prompt __P((void));
+void proxabort __P((int));
void proxtrans __P((const char *, const char *, const char *));
-void psabort __P(());
+void psabort __P((int));
void psummary __P((int));
void pswitch __P((int));
void ptransfer __P((int));
@@ -157,7 +157,7 @@ char *slurpstring __P(());
void status __P((int, char **));
void syst __P((int, char **));
int togglevar __P((int, char **, int *, const char *));
-void usage __P(());
+void usage __P((void));
void user __P((int, char **));