summaryrefslogtreecommitdiff
path: root/net/widentd/files/patch-widentd.c
blob: 04a39728b65f32fcd91dc2c27dd9a81d0f44e86c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- widentd.c.orig
+++ widentd.c
@@ -41,9 +41,6 @@
 
 #define SERVICE			("ident")	/* 113 */
 
-int             verbose = 0;
-const char     *user = UID;
-const char     *os = OS;
 
 static void
 usage(void)
@@ -64,6 +61,9 @@ main(int argc, char **argv)
 	fd_set         *lst = malloc(FD_SETSIZE), *xst = malloc(FD_SETSIZE),
 	               *wst = malloc(FD_SETSIZE);
 	struct addrinfo *ports, *p;
+	int             verbose = 0;
+	const char     *user = UID;
+	const char     *os = OS;
 	const char	* node = NULL, * service = SERVICE;
 	struct addrinfo hints;
 	int s = -1;