mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 00:33:30 +00:00
Add __unused. Ansi prototypes.
This commit is contained in:
parent
954d783c0e
commit
9f8c312911
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=216582
@ -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;
|
||||
|
||||
|
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user