File tree 2 files changed +1
-7
lines changed
2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ UNAME!= uname
11
11
.ifdef ${UNAME} == Linux
12
12
SRCS+ = alsa.c
13
13
LIBS+ = alsa
14
+ LDADD+ = -lm
14
15
.else
15
16
SRCS+ = sio.c
16
17
LDADD+ = -lsndio
Original file line number Diff line number Diff line change @@ -66,7 +66,6 @@ main(int argc, char **argv)
66
66
struct panel * left , * right ;
67
67
double * ldata , * rdata ;
68
68
69
- int dflag = 0 ; /* daemonize */
70
69
int fflag = 0 ; /* fullscreen */
71
70
int pflag = 1 ; /* hide ptr */
72
71
@@ -79,9 +78,6 @@ main(int argc, char **argv)
79
78
80
79
while ((ch = getopt (argc , argv , "dfpr:h" )) != -1 )
81
80
switch (ch ) {
82
- case 'd' :
83
- dflag = 1 ;
84
- break ;
85
81
case 'f' :
86
82
fflag = 1 ;
87
83
break ;
@@ -101,9 +97,6 @@ main(int argc, char **argv)
101
97
102
98
signal (SIGINT , catch );
103
99
104
- if (dflag )
105
- daemon (0 , 0 );
106
-
107
100
init_sio ();
108
101
maxwidth = max_samples_sio ();
109
102
maxheight = wa .height ;
You can’t perform that action at this time.
0 commit comments