summaryrefslogtreecommitdiffstats
path: root/bin/rcp/extern.h
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2002-02-02 06:48:10 +0000
committerimp <imp@FreeBSD.org>2002-02-02 06:48:10 +0000
commit50014e35418ca00d25ea852fc4f94acf80be4df3 (patch)
treef26db6e85c29b2244f601bdb366caa7f26a96c24 /bin/rcp/extern.h
parent3fc8df52e3856eeac730574d5ae122806dd1e1ef (diff)
downloadFreeBSD-src-50014e35418ca00d25ea852fc4f94acf80be4df3.zip
FreeBSD-src-50014e35418ca00d25ea852fc4f94acf80be4df3.tar.gz
o __P has been reoved
o Old-style K&R declarations have been converted to new C89 style o register has been removed o prototype for main() has been removed (gcc3 makes it an error) o int main(int argc, char *argv[]) is the preferred main definition. o Attempt to not break style(9) conformance for declarations more than they already are.
Diffstat (limited to 'bin/rcp/extern.h')
-rw-r--r--bin/rcp/extern.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/bin/rcp/extern.h b/bin/rcp/extern.h
index 06e639b..a07c3a6 100644
--- a/bin/rcp/extern.h
+++ b/bin/rcp/extern.h
@@ -41,11 +41,11 @@ typedef struct {
extern int iamremote;
-BUF *allocbuf __P((BUF *, int, int));
-char *colon __P((char *));
-void lostconn __P((int));
-void nospace __P((void));
-int okname __P((char *));
-void run_err __P((const char *, ...)) __printflike(1, 2);
-int susystem __P((char *, int));
-void verifydir __P((char *));
+BUF *allocbuf(BUF *, int, int);
+char *colon(char *);
+void lostconn(int);
+void nospace(void);
+int okname(char *);
+void run_err(const char *, ...) __printflike(1, 2);
+int susystem(char *, int);
+void verifydir(char *);
OpenPOWER on IntegriCloud