diff options
author | charnier <charnier@FreeBSD.org> | 2010-12-20 08:29:54 +0000 |
---|---|---|
committer | charnier <charnier@FreeBSD.org> | 2010-12-20 08:29:54 +0000 |
commit | 89b5c059300315fcb6ea4f0e602bbdf985e0aabd (patch) | |
tree | 9a2fd5fbc5874de7e2afec66aeddce63129333ea /libexec/getty/main.c | |
parent | 691fb06610151cc8379bf7e600b5be3dc400082d (diff) | |
download | FreeBSD-src-89b5c059300315fcb6ea4f0e602bbdf985e0aabd.zip FreeBSD-src-89b5c059300315fcb6ea4f0e602bbdf985e0aabd.tar.gz |
Add __unused. Ansi prototypes.
Diffstat (limited to 'libexec/getty/main.c')
-rw-r--r-- | libexec/getty/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/getty/main.c b/libexec/getty/main.c index ced1573..d618025 100644 --- a/libexec/getty/main.c +++ b/libexec/getty/main.c @@ -41,9 +41,9 @@ static const char copyright[] = #if 0 static char sccsid[] = "@(#)from: main.c 8.1 (Berkeley) 6/20/93"; #endif -static const char rcsid[] = - "$FreeBSD$"; #endif /* not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/ioctl.h> @@ -799,7 +799,7 @@ putf(const char *cp) * Read a gettytab database entry and perform necessary quirks. */ static void -dogettytab() +dogettytab(void) { /* Read the database entry. */ |