static int
quotec(void)
{
- register int c, i, num;
+ int c, i, num;
switch (c = getc(stdin)) {
{
static char envbuf[MAXLINE];
static char *args[MAXARGS];
- register char *ptr, **answer;
- register int c;
+ char *ptr, **answer;
+ int c;
int state;
for (ptr = envbuf; ptr < &envbuf[sizeof (envbuf)]; /* cstyle */)
static int
legalenvvar(char *s)
{
- register char **p;
+ char **p;
for (p = illegal; *p; p++)
if (strncmp(s, *p, strlen(*p)) == 0)
defaults(void)
{
extern int defcntl();
- register int flags;
- register char *ptr;
+ int flags;
+ char *ptr;
if (defopen(Pndefault) == 0) {
/*
doremoteterm(char *term)
{
struct termios tp;
- register char *cp = strchr(term, '/'), **cpp;
+ char *cp = strchr(term, '/'), **cpp;
char *speed;
(void) ioctl(0, TCGETS, &tp);