Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
ok, using signal.h for portability reasons
[dwm.git]
/
dwm.c
diff --git
a/dwm.c
b/dwm.c
index
73ce7bf
..
378fde5
100644
(file)
--- a/
dwm.c
+++ b/
dwm.c
@@
-23,11
+23,11
@@
#include <errno.h>
#include <locale.h>
#include <stdarg.h>
#include <errno.h>
#include <locale.h>
#include <stdarg.h>
+#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
-#include <sys/signal.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <X11/cursorfont.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <X11/cursorfont.h>
@@
-343,7
+343,6
@@
cleanup(void) {
Arg a = {.ui = ~0};
Layout foo = { "", NULL };
Arg a = {.ui = ~0};
Layout foo = { "", NULL };
- close(STDIN_FILENO);
view(&a);
lt[sellt] = &foo;
while(stack)
view(&a);
lt[sellt] = &foo;
while(stack)