summaryrefslogtreecommitdiff
path: root/x11-misc/xidle/files/xidle-26052015-dead.patch
blob: 715ab6c7d2b1e8ae3c350cf30185440b85048417 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- a/xidle.c	2015-05-26 08:22:15.000000000 +0300
+++ b/xidle.c	2017-02-20 20:28:02.693153198 +0200
@@ -43,7 +43,7 @@
 #endif
 
 #ifndef PATH_PROG
-#define PATH_PROG	"/usr/X11R6/bin/xlock"
+#define PATH_PROG	"/usr/bin/xlock"
 #endif
 
 
@@ -98,10 +98,10 @@
 void	parse_opts(int, char **, Display **, int *, int *, int *, int *,
 	    char **);
 int	str2pos(const char *);
-__dead void	usage(void);
+void	usage(void);
 
 
-__dead void
+void
 usage()
 {
 	fprintf(stderr, "Usage:\n%s %s\n", __progname,