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/chat.c | |
parent | 691fb06610151cc8379bf7e600b5be3dc400082d (diff) | |
download | FreeBSD-src-89b5c059300315fcb6ea4f0e602bbdf985e0aabd.zip FreeBSD-src-89b5c059300315fcb6ea4f0e602bbdf985e0aabd.tar.gz |
Add __unused. Ansi prototypes.
Diffstat (limited to 'libexec/getty/chat.c')
-rw-r--r-- | libexec/getty/chat.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/libexec/getty/chat.c b/libexec/getty/chat.c index bc5a963..8fb8aad 100644 --- a/libexec/getty/chat.c +++ b/libexec/getty/chat.c @@ -23,10 +23,8 @@ * For semi-intelligent modem handling. */ -#ifndef lint -static const char rcsid[] = - "$FreeBSD$"; -#endif /* not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <sys/types.h> #include <sys/ioctl.h> @@ -78,7 +76,7 @@ static int chat_send(char const *); */ static void -chat_alrm(int signo) +chat_alrm(int signo __unused) { int on = 1; |