summaryrefslogtreecommitdiffstats
path: root/usr.bin/talk
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2002-03-22 01:42:45 +0000
committerimp <imp@FreeBSD.org>2002-03-22 01:42:45 +0000
commit0b20191705a346bc322deac818912bd4eab96a1b (patch)
treef17746dd42b66c7b55fe407e00b5fc176ebe67a5 /usr.bin/talk
parent1698cb216e2d4ca62662103eba0191f134923698 (diff)
downloadFreeBSD-src-0b20191705a346bc322deac818912bd4eab96a1b.zip
FreeBSD-src-0b20191705a346bc322deac818912bd4eab96a1b.tar.gz
remove __P
Diffstat (limited to 'usr.bin/talk')
-rw-r--r--usr.bin/talk/talk.c2
-rw-r--r--usr.bin/talk/talk.h54
2 files changed, 28 insertions, 28 deletions
diff --git a/usr.bin/talk/talk.c b/usr.bin/talk/talk.c
index c59c96c..0b15e24 100644
--- a/usr.bin/talk/talk.c
+++ b/usr.bin/talk/talk.c
@@ -64,7 +64,7 @@ static const char copyright[] =
* Fixed to not run with unwriteable terminals MRVM 28/12/94
*/
-int main __P((int, char **));
+int main(int, char **);
int
main(argc, argv)
diff --git a/usr.bin/talk/talk.h b/usr.bin/talk/talk.h
index 5b38027..010e5f0 100644
--- a/usr.bin/talk/talk.h
+++ b/usr.bin/talk/talk.h
@@ -66,30 +66,30 @@ extern xwin_t my_win;
extern xwin_t his_win;
extern WINDOW *line_win;
-extern void announce_invite __P((void));
-extern int check_local __P((void));
-extern void check_writeable __P((void));
-extern void ctl_transact __P((struct in_addr,CTL_MSG,int,CTL_RESPONSE *));
-extern void disp_msg __P((int));
-extern void display __P((xwin_t *, char *, int));
-extern void end_msgs __P((void));
-extern void get_addrs __P((char *, char *));
-extern int get_iface __P((struct in_addr *, struct in_addr *));
-extern void get_names __P((int, char **));
-extern void init_display __P((void));
-extern void invite_remote __P((void));
-extern int look_for_invite __P((CTL_RESPONSE *));
-extern int max __P((int, int));
-extern void message __P((const char *));
-extern void open_ctl __P((void));
-extern void open_sockt __P((void));
-extern void p_error __P((const char *));
-extern void print_addr __P((struct sockaddr_in));
-extern void quit __P((void));
-extern int readwin __P((WINDOW *, int, int));
-extern void re_invite __P((int));
-extern void send_delete __P((void));
-extern void set_edit_chars __P((void));
-extern void sig_sent __P((int));
-extern void start_msgs __P((void));
-extern void talk __P((void));
+extern void announce_invite(void);
+extern int check_local(void);
+extern void check_writeable(void);
+extern void ctl_transact(struct in_addr,CTL_MSG,int,CTL_RESPONSE *);
+extern void disp_msg(int);
+extern void display(xwin_t *, char *, int);
+extern void end_msgs(void);
+extern void get_addrs(char *, char *);
+extern int get_iface(struct in_addr *, struct in_addr *);
+extern void get_names(int, char **);
+extern void init_display(void);
+extern void invite_remote(void);
+extern int look_for_invite(CTL_RESPONSE *);
+extern int max(int, int);
+extern void message(const char *);
+extern void open_ctl(void);
+extern void open_sockt(void);
+extern void p_error(const char *);
+extern void print_addr(struct sockaddr_in);
+extern void quit(void);
+extern int readwin(WINDOW *, int, int);
+extern void re_invite(int);
+extern void send_delete(void);
+extern void set_edit_chars(void);
+extern void sig_sent(int);
+extern void start_msgs(void);
+extern void talk(void);
OpenPOWER on IntegriCloud