SCCS-vsn: usr.bin/write/write.c 4.20
#endif /* not lint */
#ifndef lint
#endif /* not lint */
#ifndef lint
-static char sccsid[] = "@(#)write.c 4.19 (Berkeley) %G%";
+static char sccsid[] = "@(#)write.c 4.20 (Berkeley) %G%";
#endif /* not lint */
#include <sys/param.h>
#endif /* not lint */
#include <sys/param.h>
time_t atime;
uid_t myuid;
int msgsok, myttyfd;
time_t atime;
uid_t myuid;
int msgsok, myttyfd;
- char tty[MAXPATHLEN], *mytty, *getlogin(), *ttyname();
+ char tty[MAXPATHLEN], *mytty, *ttyname();
void done();
/* check that sender has write enabled */
void done();
/* check that sender has write enabled */
register char *login, *nows;
register struct passwd *pwd;
time_t now, time();
register char *login, *nows;
register struct passwd *pwd;
time_t now, time();
- char path[MAXPATHLEN], host[MAXHOSTNAMELEN], line[512];
+ char *getlogin(), path[MAXPATHLEN], host[MAXHOSTNAMELEN], line[512];
void done();
/* Determine our login name before the we reopen() stdout */
void done();
/* Determine our login name before the we reopen() stdout */