Add missing static keywords to talk(1)
This commit is contained in:
parent
c7c497f1c5
commit
b8d48d6233
@ -47,6 +47,7 @@ static const char sccsid[] = "@(#)ctl.c 8.1 (Berkeley) 6/6/93";
|
||||
#include <string.h>
|
||||
|
||||
#include "talk.h"
|
||||
#include "talk_ctl.h"
|
||||
|
||||
struct sockaddr_in daemon_addr = { .sin_len = sizeof(daemon_addr), .sin_family = AF_INET };
|
||||
struct sockaddr_in ctl_addr = { .sin_len = sizeof(ctl_addr), .sin_family = AF_INET };
|
||||
|
@ -50,8 +50,6 @@ static const char sccsid[] = "@(#)init_disp.c 8.2 (Berkeley) 2/16/94";
|
||||
|
||||
#include "talk.h"
|
||||
|
||||
extern volatile sig_atomic_t gotwinch;
|
||||
|
||||
/*
|
||||
* Make sure the callee can write to the screen
|
||||
*/
|
||||
|
@ -60,8 +60,8 @@ static const char sccsid[] = "@(#)invite.c 8.1 (Berkeley) 6/6/93";
|
||||
* These are used to delete the
|
||||
* invitations.
|
||||
*/
|
||||
int local_id, remote_id;
|
||||
jmp_buf invitebuf;
|
||||
static int local_id, remote_id;
|
||||
static jmp_buf invitebuf;
|
||||
|
||||
void
|
||||
invite_remote(void)
|
||||
|
@ -38,6 +38,7 @@
|
||||
#include <arpa/inet.h>
|
||||
#include <protocols/talkd.h>
|
||||
#include <curses.h>
|
||||
#include <signal.h>
|
||||
|
||||
extern int sockt;
|
||||
extern int curses_initialized;
|
||||
@ -46,6 +47,8 @@ extern int invitation_waiting;
|
||||
extern const char *current_state;
|
||||
extern int current_line;
|
||||
|
||||
extern volatile sig_atomic_t gotwinch;
|
||||
|
||||
typedef struct xwin {
|
||||
WINDOW *x_win;
|
||||
int x_nlines;
|
||||
|
Loading…
Reference in New Issue
Block a user