diff options
Diffstat (limited to 'libexec/getty/init.c')
-rw-r--r-- | libexec/getty/init.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/libexec/getty/init.c b/libexec/getty/init.c index ec911ca7223f..c304f86b568f 100644 --- a/libexec/getty/init.c +++ b/libexec/getty/init.c @@ -29,14 +29,6 @@ * SUCH DAMAGE. */ -#ifndef lint -#if 0 -static char sccsid[] = "@(#)from: init.c 8.1 (Berkeley) 6/4/93"; -#endif -static const char rcsid[] = - "$FreeBSD$"; -#endif /* not lint */ - /* * Getty table initializations. * @@ -53,7 +45,7 @@ static char nullstr[] = ""; static char loginprg[] = _PATH_LOGIN; static char datefmt[] = "%+"; -#define M(a) (&omode.c_cc[a]) +#define M(a) (char *)(&omode.c_cc[a]) struct gettystrs gettystrs[] = { { "nx", NULL, NULL }, /* next table */ @@ -123,7 +115,7 @@ struct gettynums gettynums[] = { { "dc", 0, 0, 0 }, /* debug chat script value */ { NULL, 0, 0, 0 } }; - + struct gettyflags gettyflags[] = { { "ht", 0, 0, 0, 0 }, /* has tabs */ |