mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-01 02:03:31 +00:00
grdc(6) make WARNS=6 clean and bump accordingly
Approved by: ed (Co-mentor)
This commit is contained in:
parent
929683056e
commit
72cb6052bd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=203920
@ -1,9 +1,9 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= grdc
|
||||
WARNS?= 2
|
||||
MAN= grdc.6
|
||||
DPADD= ${LIBNCURSES}
|
||||
LDADD= -lncurses
|
||||
PROG= grdc
|
||||
MAN= grdc.6
|
||||
WARNS?= 6
|
||||
DPADD= ${LIBNCURSES}
|
||||
LDADD= -lncurses
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -48,24 +48,22 @@ void movto(int, int);
|
||||
void sighndl(int);
|
||||
void usage(void);
|
||||
|
||||
void sighndl(signo)
|
||||
int signo;
|
||||
void
|
||||
sighndl(int signo)
|
||||
{
|
||||
sigtermed=signo;
|
||||
}
|
||||
|
||||
int
|
||||
main(argc, argv)
|
||||
int argc;
|
||||
char **argv;
|
||||
main(int argc, char *argv[])
|
||||
{
|
||||
struct timespec ts;
|
||||
long t, a;
|
||||
int i, j, s, k;
|
||||
int n;
|
||||
int ch;
|
||||
int scrol;
|
||||
int t12;
|
||||
struct timespec ts;
|
||||
long t, a;
|
||||
int i, j, s, k;
|
||||
int n;
|
||||
int ch;
|
||||
int scrol;
|
||||
int t12;
|
||||
|
||||
t12 = scrol = 0;
|
||||
|
||||
@ -225,7 +223,7 @@ int t12;
|
||||
void
|
||||
set(int t, int n)
|
||||
{
|
||||
int i, m;
|
||||
int i, m;
|
||||
|
||||
m = 7<<n;
|
||||
for(i=0; i<5; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user