morse(6): minor nits
- Use copyright comment header - Make it easier to compile on !FreeBSD - Diff reduction against DragonFlyBSD
This commit is contained in:
parent
1ffe779759
commit
b25f1d3db6
@ -1,4 +1,4 @@
|
||||
/*
|
||||
/*-
|
||||
* Copyright (c) 1988, 1993
|
||||
* The Regents of the University of California. All rights reserved.
|
||||
*
|
||||
@ -57,8 +57,10 @@ static const char rcsid[] =
|
||||
#include <termios.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#ifdef __FreeBSD__
|
||||
/* Always use the speaker, let the open fail if -p is selected */
|
||||
#define SPEAKER "/dev/speaker"
|
||||
#endif
|
||||
|
||||
#define WHITESPACE " \t\n"
|
||||
#define DELIMITERS " \t"
|
||||
@ -307,7 +309,7 @@ static tone_t sound;
|
||||
static const struct morsetab *hightab;
|
||||
|
||||
int
|
||||
main(int argc, char **argv)
|
||||
main(int argc, char *argv[])
|
||||
{
|
||||
int ch, lflags;
|
||||
char *p, *codeset;
|
||||
|
Loading…
Reference in New Issue
Block a user